class Specinfra::Command::Openbsd::Base::Inventory
Public Class Methods
get_cpu()
click to toggle source
# File lib/specinfra/command/openbsd/base/inventory.rb, line 7 def get_cpu 'false' end
get_domain()
click to toggle source
# File lib/specinfra/command/openbsd/base/inventory.rb, line 15 def get_domain 'hostname | ' + 'awk -v h=`hostname -s` \'$1 ~ h { sub(h".", "", $1); print $1 }\'' end
get_filesystem()
click to toggle source
# File lib/specinfra/command/openbsd/base/inventory.rb, line 24 def get_filesystem 'df -kP' end
get_fqdn()
click to toggle source
# File lib/specinfra/command/openbsd/base/inventory.rb, line 20 def get_fqdn 'hostname' end
get_hostname()
click to toggle source
# File lib/specinfra/command/openbsd/base/inventory.rb, line 11 def get_hostname 'hostname -s' end
get_memory()
click to toggle source
# File lib/specinfra/command/openbsd/base/inventory.rb, line 3 def get_memory 'false' end
get_system_product_name()
click to toggle source
# File lib/specinfra/command/openbsd/base/inventory.rb, line 28 def get_system_product_name 'sysctl -n hw.product' end