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 inherited from Beaker::Host
Class Method Summary collapse
Methods included from Pkg
#check_for_package, #install_package, #uninstall_package
Methods included from Beaker::CommandFactory
Methods included from Exec
Methods included from File
#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, #do_scp_from, #do_scp_to, #exec, #has_key?, #initialize, #is_pe?, #log_prefix, #merge_defaults_for_type, #node_name, #pkg_initialize, #port_open?, #puppet, #reachable_name, #to_s, #to_str, #up?
Constructor Details
This class inherits a constructor from Beaker::Host
Class Method Details
.foss_defaults ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/beaker/host/windows.rb', line 33 def self.foss_defaults h = Beaker::Options::OptionsHash.new h.merge({ 'user' => 'Administrator', 'group' => 'Administrators', 'puppetpath' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'puppetvardir' => '`cygpath -smF 35`/PuppetLabs/puppet/var', 'hieralibdir' => '`cygpath -w /opt/puppet-git-repos/hiera/lib`', 'hierapuppetlibdir' => '`cygpath -w /opt/puppet-git-repos/hiera-puppet/lib`', # PATH related variables need to be Unix, which cygwin converts 'hierabindir' => '/opt/puppet-git-repos/hiera/bin', 'pathseparator' => ';', }) end |
.pe_defaults ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/beaker/host/windows.rb', line 20 def self.pe_defaults h = Beaker::Options::OptionsHash.new h.merge({ 'user' => 'Administrator', 'group' => 'Administrators', 'puppetpath' => '`cygpath -smF 35`/PuppetLabs/puppet/etc', 'puppetvardir' => '`cygpath -smF 35`/PuppetLabs/puppet/var', #if an x86 Program Files dir exists then use it, default to just Program Files 'puppetbindir' => '$( [ -d "/cygdrive/c/Program Files (x86)" ] && echo "/cygdrive/c/Program Files (x86)" || echo "/cygdrive/c/Program Files" )/Puppet Labs/Puppet Enterprise/bin', 'pathseparator' => ';', }) end |