lib/specinfra/helper/detect_os/aix.rb in specinfra-2.21.1 vs lib/specinfra/helper/detect_os/aix.rb in specinfra-2.22.0
- old
+ new
@@ -1,6 +1,6 @@
class Specinfra::Helper::DetectOs::Aix < Specinfra::Helper::DetectOs
- def self.detect
+ def detect
if run_command('uname -s').stdout =~ /AIX/i
{ :family => 'aix', :release => nil }
end
end
end