Hi all,

I am trying to reduce a catalog down to only the resources with their
dependencies.

I can get all resources in the catalog (including defined resource types,
classes, stages, and nodes) with the @catalog.resources method:

I can get just the resources that will be applied with:

@catalog.relationship_graph.topsort

the problem is that the relationshipgraph view loses dependencies between:
defined resource types/stages/classes.

Any pointers as to where in the code this is sorted out during apply?
Ideally, I could use this to figure out how to write a reduce method.

-Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to