11 рядки
212 Б
Ruby
11 рядки
212 Б
Ruby
# == Fact: concat_basedir
|
|
#
|
|
# A custom fact that sets the default location for fragments
|
|
#
|
|
# "${::vardir}/concat/"
|
|
#
|
|
Facter.add("concat_basedir") do
|
|
setcode do
|
|
File.join(Puppet[:vardir],"concat")
|
|
end
|
|
end
|