puppet-standalone-mashup/shared/lib/puppet/parser/functions/data_path.rb
2012-05-02 18:17:23 -04:00

7 lines
149 B
Ruby

module Puppet::Parser::Functions
newfunction(:data_path, :type => :rvalue) do |args|
File.join(lookupvar('base::data_path'), *args)
end
end