Class: Unix::Host
- Inherits:
-
Beaker::Host
- Object
- Beaker::Host
- Unix::Host
- Defined in:
- lib/beaker/host/unix.rb
Direct Known Subclasses
Constant Summary
Constants included from Pkg
Pkg::DEBIAN_PLATFORM_CODENAMES
Constants inherited from Beaker::Host
Instance Attribute Summary
Attributes included from Beaker::CommandFactory
Attributes inherited from Beaker::Host
#host_hash, #logger, #name, #options
Instance Method Summary collapse
Methods included from Pkg
#check_for_command, #check_for_package, #deploy_apt_repo, #deploy_package_repo, #deploy_yum_repo, #deploy_zyp_repo, #determine_if_x86_64, #install_package, #pkg_initialize, #uninstall_package, #update_apt_if_needed, #upgrade_package
Methods included from Beaker::CommandFactory
Methods included from Exec
#add_env_var, #clear_env_var, #delete_env_var, #echo, #get_env_var, #get_ip, #mirror_env_to_profile_d, #mkdir_p, #path, #reboot, #rm_rf, #touch
Methods included from File
#file_exist?, #path_split, #tmpdir, #tmpfile
Methods included from Group
#group_absent, #group_get, #group_gid, #group_list, #group_present
Methods included from User
#user_absent, #user_get, #user_list, #user_present
Methods inherited from Beaker::Host
#+, #[], #[]=, #close, #connection, create, #delete, #do_rsync_to, #do_scp_from, #do_scp_to, #exec, #get_ip, #graceful_restarts?, #has_key?, #hostname, #initialize, #ip, #is_cygwin?, #is_pe?, #is_powershell?, #is_using_passenger?, #is_x86_64?, #log_prefix, #node_name, #pkg_initialize, #platform, #port_open?, #puppet, #reachable_name, #to_s, #to_str, #up?, #use_service_scripts?, #uses_passenger!
Constructor Details
This class inherits a constructor from Beaker::Host
Instance Method Details
#platform_defaults ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/beaker/host/unix.rb', line 17 def platform_defaults h = Beaker::Options::OptionsHash.new h.merge({ 'user' => 'root', 'group' => 'root', 'pathseparator' => ':', }) end |