Method: Puppet::Parameter#pathbuilder

Defined in:
lib/puppet/parameter.rb

#pathbuilderObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns an array of strings representing the containment hierarchy (types/classes) that make up the path to the resource from the root of the catalog. This is mostly used for logging purposes.

API:

  • private



396
397
398
399
400
401
402
# File 'lib/puppet/parameter.rb', line 396

def pathbuilder
  if @resource
    [@resource.pathbuilder, name]
  else
    [name]
  end
end