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.91.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.90.1 lib/specinfra/command/redhat/base/service.rb
specinfra-2.90.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.89.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.88.2 lib/specinfra/command/redhat/base/service.rb
specinfra-2.88.1 lib/specinfra/command/redhat/base/service.rb
specinfra-2.88.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.87.2 lib/specinfra/command/redhat/base/service.rb
specinfra-2.87.1 lib/specinfra/command/redhat/base/service.rb
specinfra-2.87.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.86.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.85.1 lib/specinfra/command/redhat/base/service.rb
specinfra-2.85.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.84.1 lib/specinfra/command/redhat/base/service.rb
specinfra-2.84.0 lib/specinfra/command/redhat/base/service.rb
specinfra-2.83.4 lib/specinfra/command/redhat/base/service.rb
specinfra-2.83.3 lib/specinfra/command/redhat/base/service.rb
specinfra-2.83.2 lib/specinfra/command/redhat/base/service.rb
specinfra-2.83.1 lib/specinfra/command/redhat/base/service.rb
specinfra-2.83.0 lib/specinfra/command/redhat/base/service.rb