Class: Specinfra::Command::Linux::Base::Inventory
- Inherits:
-
Base::Inventory
- Object
- Base
- Base::Inventory
- Specinfra::Command::Linux::Base::Inventory
- Defined in:
- lib/specinfra/command/linux/base/inventory.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.get_domain ⇒ Object
11 12 13 |
# File 'lib/specinfra/command/linux/base/inventory.rb', line 11 def get_domain 'dnsdomainname' end |
.get_fqdn ⇒ Object
15 16 17 |
# File 'lib/specinfra/command/linux/base/inventory.rb', line 15 def get_fqdn 'hostname -f' end |
.get_hostname ⇒ Object
7 8 9 |
# File 'lib/specinfra/command/linux/base/inventory.rb', line 7 def get_hostname 'hostname -s' end |
.get_memory ⇒ Object
3 4 5 |
# File 'lib/specinfra/command/linux/base/inventory.rb', line 3 def get_memory 'cat /proc/meminfo' end |