lib/specinfra/helper/detect_os/arch.rb in specinfra-2.21.1 vs lib/specinfra/helper/detect_os/arch.rb in specinfra-2.22.0
- old
+ new
@@ -1,6 +1,6 @@
class Specinfra::Helper::DetectOs::Arch < Specinfra::Helper::DetectOs
- def self.detect
+ def detect
if run_command('ls /etc/arch-release').success?
{ :family => 'arch', :release => nil }
end
end
end