Class: Puppet::Util::UnixRunMode
Instance Attribute Summary
Attributes inherited from RunMode
#name
Instance Method Summary
collapse
Methods inherited from RunMode
[], #agent?, #initialize, #master?, #user?
Instance Method Details
65
66
67
|
# File 'lib/puppet/util/run_mode.rb', line 65
def code_dir
which_dir("/etc/puppetlabs/code", "~/.puppetlabs/etc/code")
end
|
61
62
63
|
# File 'lib/puppet/util/run_mode.rb', line 61
def conf_dir
which_dir("/etc/puppetlabs/puppet", "~/.puppetlabs/etc/puppet")
end
|
77
78
79
|
# File 'lib/puppet/util/run_mode.rb', line 77
def log_dir
which_dir("/var/log/puppetlabs/puppet", "~/.puppetlabs/var/log")
end
|
73
74
75
|
# File 'lib/puppet/util/run_mode.rb', line 73
def run_dir
which_dir("/var/run/puppetlabs", "~/.puppetlabs/var/run")
end
|
69
70
71
|
# File 'lib/puppet/util/run_mode.rb', line 69
def var_dir
which_dir("/opt/puppetlabs/puppet/cache", "~/.puppetlabs/opt/puppet/cache")
end
|