Method: Puppet::Type#pathbuilder

Defined in:
lib/puppet/type.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.



1229
1230
1231
1232
1233
1234
1235
1236
# File 'lib/puppet/type.rb', line 1229

def pathbuilder
  p = parent
  if p
    [p.pathbuilder, ref].flatten
  else
    [ref]
  end
end