7 lines
151 B
Ruby
7 lines
151 B
Ruby
module Puppet::Parser::Functions
|
|
newfunction(:data_path, :type => :rvalue) do |args|
|
|
File.join(lookupvar('::base::data_path'), *args)
|
|
end
|
|
end
|
|
|