puppet-standalone-mashup/shared/lib/puppet/parser/functions/config_path.rb

6 lines
154 B
Ruby
Raw Normal View History

2012-05-02 22:17:23 +00:00
module Puppet::Parser::Functions
newfunction(:config_path, :type => :rvalue) do |args|
2012-06-04 19:05:38 +00:00
File.join(lookupvar('::base::config_path'), *args)
2012-05-02 22:17:23 +00:00
end
end