Hi all,

A question for those familiar with the internal Puppet APIs: is it
possible to access the name and type of the Puppet resource/define
that "called" a template from within that template? There was talk on
the list a year ago that mentions "scope.compiler.catalog.vertices",
but this is a list of all Puppet resources where I just want the one
'current' one, or even better, the ability to determine the parent
resource/define of this resource/define (and up and up the chain).

It goes against information hiding principles, but it might be nice to
say "this bit of this file was generated by this Puppet resource".

Thanks,

-Luke

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to