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

7 lines
147 B
Ruby
Raw Normal View History

2012-05-02 22:17:23 +00:00
module Puppet::Parser::Functions
newfunction(:log_path, :type => :rvalue) do |args|
File.join(lookupvar('base::log_path'), *args)
end
end