puppet-standalone-mashup/shared/lib/puppet/parser/functions/build_path.rb
2011-12-07 17:59:34 -05:00

9 lines
195 B
Ruby

require 'puppet/modules/common_directories'
module Puppet::Parser::Functions
newfunction(:build_path, :type => :rvalue) do |args|
build_path(lookupvar('base::src_path'), *args)
end
end