module-concat/lib/facter/concat_basedir.rb
2013-05-10 11:58:02 +02:00

11 lines
220 B
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