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

7 lines
152 B
Ruby
Raw Normal View History

2012-05-02 22:17:23 +00:00
module Puppet::Parser::Functions
newfunction(:share_path, :type => :rvalue) do |args|
2012-05-04 17:54:50 +00:00
share_path(lookupvar('base::share_path'), *args)
2012-05-02 22:17:23 +00:00
end
end