Class: Puppet::Util::WindowsRunMode Private
- Defined in:
- lib/puppet/util/run_mode.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from RunMode
Instance Method Summary collapse
- #code_dir ⇒ Object private
- #conf_dir ⇒ Object private
- #log_dir ⇒ Object private
- #public_dir ⇒ Object private
- #run_dir ⇒ Object private
- #var_dir ⇒ Object private
Methods inherited from RunMode
[], #agent?, #initialize, #master?, #server?, #user?
Constructor Details
This class inherits a constructor from Puppet::Util::RunMode
Instance Method Details
#code_dir ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
96 97 98 |
# File 'lib/puppet/util/run_mode.rb', line 96 def code_dir which_dir(File.join(windows_common_base("code")), "~/.puppetlabs/etc/code") end |
#conf_dir ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
92 93 94 |
# File 'lib/puppet/util/run_mode.rb', line 92 def conf_dir which_dir(File.join(windows_common_base("puppet/etc")), "~/.puppetlabs/etc/puppet") end |
#log_dir ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
112 113 114 |
# File 'lib/puppet/util/run_mode.rb', line 112 def log_dir which_dir(File.join(windows_common_base("puppet/var/log")), "~/.puppetlabs/var/log") end |
#public_dir ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
104 105 106 |
# File 'lib/puppet/util/run_mode.rb', line 104 def public_dir which_dir(File.join(windows_common_base("puppet/public")), "~/.puppetlabs/opt/puppet/public") end |
#run_dir ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
108 109 110 |
# File 'lib/puppet/util/run_mode.rb', line 108 def run_dir which_dir(File.join(windows_common_base("puppet/var/run")), "~/.puppetlabs/var/run") end |
#var_dir ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
100 101 102 |
# File 'lib/puppet/util/run_mode.rb', line 100 def var_dir which_dir(File.join(windows_common_base("puppet/cache")), "~/.puppetlabs/opt/puppet/cache") end |