Sha256: 6994e19933d94149e5fe83c3e51808008f349a18538f0490e424dfd76ed83cf1

Contents?: true

Size: 341 Bytes

Versions: 45

Compression:

Stored size: 341 Bytes

Contents

class Specinfra::Command::Redhat::Base::Host < Specinfra::Command::Base::Host
  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::Host
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
specinfra-2.82.5 lib/specinfra/command/redhat/base/host.rb
specinfra-2.82.4 lib/specinfra/command/redhat/base/host.rb
specinfra-2.82.3 lib/specinfra/command/redhat/base/host.rb
specinfra-2.82.2 lib/specinfra/command/redhat/base/host.rb
specinfra-2.82.1 lib/specinfra/command/redhat/base/host.rb