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

9 lines
205 B
Ruby

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