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

7 lines
151 B
Ruby

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