Class: Windows::Host
- Inherits:
-
Unix::Host
- Object
- Beaker::Host
- Unix::Host
- Windows::Host
- Defined in:
- lib/beaker/host/windows.rb
Overview
A windows host with cygwin tools installed
Constant Summary
Constants included from Exec
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, #determine_if_x86_64, #install_package, #uninstall_package
Methods included from Beaker::CommandFactory
Methods included from Exec
#echo, #get_ip, #path, #ping, #reboot, #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 included from Unix::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 Unix::Exec
#add_env_var, #clear_env_var, #delete_env_var, #echo, #get_env_var, #get_ip, #mirror_env_to_profile_d, #mkdir_p, #mv, #path, #ping, #reboot, #rm_rf, #touch
Methods included from Unix::File
#file_exist?, #path_split, #tmpdir, #tmpfile
Methods included from Unix::Group
#group_absent, #group_get, #group_gid, #group_list, #group_present
Methods included from Unix::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
18 19 20 21 22 23 24 25 |
# File 'lib/beaker/host/windows.rb', line 18 def platform_defaults h = Beaker::Options::OptionsHash.new h.merge({ 'user' => 'Administrator', 'group' => 'Administrators', 'pathseparator' => ';', }) end |