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