Sha256: 2d38ba3022fdc90cdc3d3062158515be9ca99168eb0a5cadee274b57df558801

Contents?: true

Size: 356 Bytes

Versions: 20

Compression:

Stored size: 356 Bytes

Contents

class Specinfra::Command::Redhat::Base::Inventory < Specinfra::Command::Linux::Base::Inventory
  class << self
    def get_service
      "chkconfig --list"
    end

    def get_package
      "rpm -qa --queryformat 'name:%{NAME}\tversion:%{VERSION}\trelease:%{RELEASE}\tarch:%{ARCH}\tinstalltime:%{INSTALLTIME}\tbuildtime:%{BUILDTIME}\n'"
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
koma-0.17.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.16.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.15.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.14.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.13.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.12.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.11.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.10.1 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.10.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.9.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.8.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.7.3 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.7.2 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.7.1 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.7.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.6.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.5.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.4.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.3.1 lib/koma/ext/specinfra/command/redhat/base/inventory.rb
koma-0.3.0 lib/koma/ext/specinfra/command/redhat/base/inventory.rb