Class: Puppet::Util::WindowsRunMode
Instance Attribute Summary
Attributes inherited from RunMode
#name
Instance Method Summary
collapse
Methods inherited from RunMode
[], #agent?, #initialize, #master?, #user?
Instance Method Details
87
88
89
|
# File 'lib/puppet/util/run_mode.rb', line 87
def code_dir
which_dir(File.join(windows_common_base("code")), "~/.puppetlabs/etc/code")
end
|
83
84
85
|
# File 'lib/puppet/util/run_mode.rb', line 83
def conf_dir
which_dir(File.join(windows_common_base("puppet/etc")), "~/.puppetlabs/etc/puppet")
end
|
99
100
101
|
# File 'lib/puppet/util/run_mode.rb', line 99
def log_dir
which_dir(File.join(windows_common_base("puppet/var/log")), "~/.puppetlabs/var/log")
end
|
95
96
97
|
# File 'lib/puppet/util/run_mode.rb', line 95
def run_dir
which_dir(File.join(windows_common_base("puppet/var/run")), "~/.puppetlabs/var/run")
end
|
91
92
93
|
# File 'lib/puppet/util/run_mode.rb', line 91
def var_dir
which_dir(File.join(windows_common_base("puppet/cache")), "~/.puppetlabs/opt/puppet/cache")
end
|