Class: Specinfra::Command::Redhat::Base::Inventory
- Inherits:
-
Linux::Base::Inventory
- Object
- Linux::Base::Inventory
- Specinfra::Command::Redhat::Base::Inventory
- Defined in:
- lib/koma/ext/specinfra/command/redhat/base/inventory.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.get_package ⇒ Object
7 8 9 |
# 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 ⇒ Object
3 4 5 |
# File 'lib/koma/ext/specinfra/command/redhat/base/inventory.rb', line 3 def get_service "chkconfig --list" end |