Puppet Function: fragmentdir
- Defined in:
- lib/puppet/parser/functions/fragmentdir.rb
- Function type:
- Ruby 3.x API
Overview
Returns the fragment directory for a given concat build.
17 18 19 |
# File 'lib/puppet/parser/functions/fragmentdir.rb', line 17 newfunction(:fragmentdir, :type => :rvalue, :doc => "Returns the fragment directory for a given concat build.") do |args| "#{Puppet[:vardir]}/concat_native/fragments/#{args.first}" end |