module-concat/lib/facter/concat_basedir.rb

12 lines
220 B
Ruby
Raw Normal View History

2013-05-09 21:24:22 +02:00
# == 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