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

7 lines
149 B
Ruby

module Puppet::Parser::Functions
newfunction(:log_path, :type => :rvalue) do |args|
File.join(lookupvar('::base::log_path'), *args)
end
end