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