Class: Windows::Host
- Inherits:
-
Beaker::Host
- Object
- Beaker::Host
- Windows::Host
- Defined in:
- lib/beaker/host/windows.rb
Constant Summary
Constants included from Exec
Constants inherited from Beaker::Host
Instance Attribute Summary
Attributes included from Beaker::CommandFactory
Attributes inherited from Beaker::Host
Class 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, #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 inherited from Beaker::Host
#+, #[], #[]=, #add_env_var, #build_deprecated_keys, #close, #connection, create, #delete_env_var, #determine_if_x86_64, #do_rsync_to, #do_scp_from, #do_scp_to, #exec, #get_env_var, #get_ip, #graceful_restarts?, #has_key?, #hostname, #initialize, #ip, #is_cygwin?, #is_pe?, #is_using_passenger?, #is_x86_64?, #log_prefix, #merge_defaults_for_type, #mirror_env_to_profile_d, #mkdir_p, #node_name, #pkg_initialize, #platform, #port_open?, #puppet, #reachable_name, #rm_rf, #to_s, #to_str, #up?, #use_service_scripts?, #uses_passenger!
Constructor Details
This class inherits a constructor from Beaker::Host
Class Method Details
.aio_defaults ⇒ Object
59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/beaker/host/windows.rb', line 59 def self.aio_defaults h = Beaker::Options::OptionsHash.new h.merge({ 'user' => 'Administrator', 'puppetbindir' => '/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet/bin', 'privatebindir' => '/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet/sys/ruby/bin', 'distmoduledir' => '`cygpath -smF 35`/PuppetLabs/code/modules', # sitemoduledir not included (check PUP-4049 for more info) 'pathseparator' => ';', }) end |
.foss_defaults ⇒ Object
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/beaker/host/windows.rb', line 37 def self.foss_defaults h = Beaker::Options::OptionsHash.new h.merge({ 'user' => 'Administrator', 'group' => 'Administrators', 'puppetpath' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'puppetconfdir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'puppetcodedir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'hieraconf' => '`cygpath -smF 35`/Puppetlabs/puppet/etc/hiera.yaml', 'puppetvardir' => '`cygpath -smF 35`/PuppetLabs/puppet/var', 'distmoduledir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc/modules', 'sitemoduledir' => 'C:/usr/share/puppet/modules', 'hieralibdir' => '`cygpath -w /opt/puppet-git-repos/hiera/lib`', 'hierapuppetlibdir' => '`cygpath -w /opt/puppet-git-repos/hiera-puppet/lib`', #let's just add both potential bin dirs to the path 'puppetbindir' => '/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet/bin', 'privatebindir' => '/usr/bin', 'hierabindir' => '/opt/puppet-git-repos/hiera/bin', 'pathseparator' => ';', }) end |
.pe_defaults ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/beaker/host/windows.rb', line 17 def self.pe_defaults h = Beaker::Options::OptionsHash.new h.merge({ 'user' => 'Administrator', 'group' => 'Administrators', 'puppetservice' => 'pe-httpd', 'puppetpath' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'puppetconfdir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'puppetcodedir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'hieraconf' => '`cygpath -smF 35`/Puppetlabs/puppet/etc/hiera.yaml', 'puppetvardir' => '`cygpath -smF 35`/PuppetLabs/puppet/var', 'distmoduledir' => '`cygpath -smF 35`/PuppetLabs/puppet/etc/modules', 'sitemoduledir' => 'C:/usr/share/puppet/modules', #let's just add both potential bin dirs to the path 'puppetbindir' => '/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet Enterprise/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet Enterprise/bin', 'privatebindir' => '/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet Enterprise/sys/ruby/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet Enterprise/sys/ruby/bin', 'pathseparator' => ';', }) end |