Class: Babushka::BSDSystemProfile
Instance Method Summary
collapse
#bsd?, #cpu_type, #cpus, #description, #differentiator_for, #library_ext, #linux?, #match_list, #matcher, #matches?, #name, #name_str, #osx?, #pkg_helper, #pkg_helper_key, #pkg_helper_str, #public_ip, #total_memory, #version_info
cmd_dir, current_username, log_shell, login_shell, raw_shell, shell, shell!, shell?, shell_cmd, sudo, which
Methods included from LogHelpers
debug, deprecated!, log, log_block, log_error, log_ok, log_stderr, log_warn, removed!
Instance Method Details
105
|
# File 'lib/babushka/system_profile.rb', line 105
def flavour; :unknown end
|
#flavour_str ⇒ Object
106
|
# File 'lib/babushka/system_profile.rb', line 106
def flavour_str; system_str end
|
#get_version_info ⇒ Object
109
|
# File 'lib/babushka/system_profile.rb', line 109
def get_version_info; shell 'uname -v' end
|
108
|
# File 'lib/babushka/system_profile.rb', line 108
def release; shell 'uname -r' end
|
103
|
# File 'lib/babushka/system_profile.rb', line 103
def system; :bsd end
|
#system_str ⇒ Object
104
|
# File 'lib/babushka/system_profile.rb', line 104
def system_str; 'BSD' end
|
107
|
# File 'lib/babushka/system_profile.rb', line 107
def version; shell 'uname -s' end
|