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

10 lines
198 B
Ruby

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