class Specinfra::Command::Redhat::Base::Inventory
Public Class Methods
get_package()
click to toggle source
# File lib/koma/ext/specinfra/command/redhat/base/inventory.rb, line 7 def get_package "rpm -qa --queryformat 'name:%{NAME}\tversion:%{VERSION}\trelease:%{RELEASE}\tarch:%{ARCH}\tinstalltime:%{INSTALLTIME}\tbuildtime:%{BUILDTIME}\n'" end
get_service()
click to toggle source
# File lib/koma/ext/specinfra/command/redhat/base/inventory.rb, line 3 def get_service "chkconfig --list" end