puppet-standalone-mashup/shared/lib/puppet/parser/functions/share_path.rb
2012-06-04 15:05:38 -04:00

7 lines
154 B
Ruby

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