Class: PSWindows::Host

Inherits:
Beaker::Host show all
Includes:
Exec, File, Group, Pkg, User
Defined in:
lib/beaker/host/pswindows.rb

Constant Summary

Constants included from Exec

Exec::ABS_CMD, Exec::CMD

Constants inherited from Beaker::Host

Beaker::Host::SELECT_TIMEOUT

Instance Attribute Summary

Attributes included from Beaker::CommandFactory

#assertions

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

#execute, #fail_test

Methods included from Exec

#add_env_var, #clear_env_var, #delete_env_var, #echo, #get_env_var, #get_ip, #mkdir_p, #path, #reboot, #rm_rf, #touch

Methods included from Beaker::DSL::Wrappers

#cfacter, #facter, #hiera, #powershell, #puppet

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_defaultsObject



17
18
19
20
21
22
23
24
# File 'lib/beaker/host/pswindows.rb', line 17

def platform_defaults
  h = Beaker::Options::OptionsHash.new
  h.merge({
    'user'              => 'Administrator',
    'group'             => 'Administrators',
    'pathseparator'     => ';',
  })
end