puppet-standalone-mashup/shared/lib/puppet/parser/functions/bin_path.rb

9 lines
197 B
Ruby
Raw Normal View History

require 'puppet/modules/common_directories'
module Puppet::Parser::Functions
newfunction(:bin_path, :type => :rvalue) do |args|
2012-06-04 19:05:38 +00:00
bin_path(lookupvar('::base::install_path'), *args)
end
end