Class: Specinfra::Helper::DetectOs::Aix

Inherits:
Specinfra::Helper::DetectOs show all
Defined in:
lib/specinfra/helper/detect_os/aix.rb

Class Method Summary collapse

Methods inherited from Specinfra::Helper::DetectOs

run_command

Class Method Details

.detectObject



2
3
4
5
6
# File 'lib/specinfra/helper/detect_os/aix.rb', line 2

def self.detect
  if run_command('uname -s').stdout =~ /AIX/i
    { :family => 'aix', :release => nil }
  end
end