Sha256: 501b820d62da99c633550ab5f05c32a1318b00c496390501e4a20dda2162950e

Contents?: true

Size: 357 Bytes

Versions: 45

Compression:

Stored size: 357 Bytes

Contents

class Specinfra::Command::Redhat::Base::Service < Specinfra::Command::Linux::Base::Service
  class << self
    def create(os_info=nil)
      release = (os_info || os)[:release].to_i
      # Dirty hack for Amazon Linux
      if release < 7 || release > 2000
        self
      else
        Specinfra::Command::Redhat::V7::Service
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
specinfra-2.82.25 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.24 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.23 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.22 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.21 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.20 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.19 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.18 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.17 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.16 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.15 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.14 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.13 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.12 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.11 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.10 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.9 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.8 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.7 lib/specinfra/command/redhat/base/service.rb
specinfra-2.82.6 lib/specinfra/command/redhat/base/service.rb