From 6087aa329ff92ce02107792faf233279e6a77d55 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 9 Jun 2016 17:32:22 +0200 Subject: git subrepo clone https://leap.se/git/puppet_concat puppet/modules/concat subrepo: subdir: "puppet/modules/concat" merged: "abce128" upstream: origin: "https://leap.se/git/puppet_concat" branch: "master" commit: "abce128" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "cb2995b" --- puppet/modules/concat/lib/facter/concat_basedir.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 puppet/modules/concat/lib/facter/concat_basedir.rb (limited to 'puppet/modules/concat/lib') diff --git a/puppet/modules/concat/lib/facter/concat_basedir.rb b/puppet/modules/concat/lib/facter/concat_basedir.rb new file mode 100644 index 00000000..02e9c5bf --- /dev/null +++ b/puppet/modules/concat/lib/facter/concat_basedir.rb @@ -0,0 +1,5 @@ +Facter.add("concat_basedir") do + setcode do + File.join(Puppet[:vardir],"concat") + end +end -- cgit v1.2.3