lib/specinfra/command/fedora/base/service.rb in specinfra-2.43.5 vs lib/specinfra/command/fedora/base/service.rb in specinfra-2.43.6

- old
+ new

@@ -1,8 +1,8 @@ class Specinfra::Command::Fedora::Base::Service < Specinfra::Command::Redhat::Base::Service class << self - def create - if os[:release].to_i < 15 + def create(os_info=nil) + if (os_info || os)[:release].to_i < 15 self else Specinfra::Command::Fedora::V15::Service end end