45dfa6984c
Get the concat base directory from a fact -> makes it useable if Puppet's :vardir is not /var/lib/puppet/. This fixes problems with PE and makes the module also useable for puppet runs as unpriviledged user.
5 lines
103 B
Ruby
5 lines
103 B
Ruby
Facter.add("concat_basedir") do
|
|
setcode do
|
|
File.join(Puppet[:vardir],"concat")
|
|
end
|
|
end
|