module-concat/lib/facter/concat_basedir.rb
2013-11-03 11:02:00 -07:00

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