2011-12-07 22:59:34 +00:00
|
|
|
require 'puppet/modules/common_directories'
|
|
|
|
|
|
|
|
module Puppet::Parser::Functions
|
2012-02-16 01:33:18 +00:00
|
|
|
$stdout.puts "here"
|
|
|
|
|
2011-12-07 22:59:34 +00:00
|
|
|
newfunction(:bin_path, :type => :rvalue) do |args|
|
2012-02-16 01:33:18 +00:00
|
|
|
$stdout.puts args.inspect
|
|
|
|
|
2011-12-07 22:59:34 +00:00
|
|
|
bin_path(lookupvar('base::install_path'), *args)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|