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