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.
95 96 97 |
# File 'lib/puppet/util/run_mode.rb', line 95 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.
91 92 93 |
# File 'lib/puppet/util/run_mode.rb', line 91 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.
111 112 113 |
# File 'lib/puppet/util/run_mode.rb', line 111 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.
103 104 105 |
# File 'lib/puppet/util/run_mode.rb', line 103 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.
107 108 109 |
# File 'lib/puppet/util/run_mode.rb', line 107 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.
99 100 101 |
# File 'lib/puppet/util/run_mode.rb', line 99 def var_dir which_dir(File.join(windows_common_base("puppet/cache")), "~/.puppetlabs/opt/puppet/cache") end |