lib/koma/ext/specinfra/command/redhat/base/inventory.rb in koma-0.2.0 vs lib/koma/ext/specinfra/command/redhat/base/inventory.rb in koma-0.3.0
- old
+ new
@@ -1,6 +1,10 @@
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