Hi all,

Does anyone know of a way to inspect resources that are already parsed in a 
node's manifest during catalog compilation? This would certainly need some 
serious Ruby Fu.

As an example, imagine I have a number of arbitrary files defined by 
multiple classes and it is impossible to get an all encompassing list of 
these files:

file { 'woof': }
file { 'cows': }
file { 'meow': }
...
$all_files = inline_template(...)

I would like to be able to gather those file names into a Puppet variable - 
this would be parse order dependent. It would be fantastic if it could 
handle exported resources that have just been collected as well.

Thanks,

-Luke

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/SIz5R_2fmNwJ.
To post to this group, send email to puppet-users@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