puppet-standalone-mashup/shared/lib/puppet/parser/functions/bin_path.rb
2012-04-30 12:02:19 -04:00

12 lines
227 B
Ruby

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