diff --git a/shared/lib/puppet/parser/functions/bin_path.rb b/shared/lib/puppet/parser/functions/bin_path.rb index 8dbf493..66a14e4 100644 --- a/shared/lib/puppet/parser/functions/bin_path.rb +++ b/shared/lib/puppet/parser/functions/bin_path.rb @@ -1,7 +1,11 @@ require 'puppet/modules/common_directories' module Puppet::Parser::Functions + $stdout.puts "here" + newfunction(:bin_path, :type => :rvalue) do |args| + $stdout.puts args.inspect + bin_path(lookupvar('base::install_path'), *args) end end