Sha256: 3ef933b341227b6533199de8cb36acc66c9aca210843a06f4716750b0007a852
Contents?: true
Size: 316 Bytes
Versions: 5
Compression:
Stored size: 316 Bytes
Contents
class Specinfra::Helper::DetectOs::Aix < Specinfra::Helper::DetectOs def detect if run_command('uname -s').stdout =~ /AIX/i line = run_command('uname -rvp').stdout if line =~ /(\d)\s+(\d)\s+(.*)/ then { :family => 'aix', :release => "#{$2}.#{$1}", :arch => $3 } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems