Markus Roberts: > As a hack, I've occasionally done something like: > > diff --git a/lib/puppet/application/apply.rb [...] > - > Puppet::Node::Environment.new(Puppet[:environment]).known_resource_types > + print > ZAML.dump(Puppet::Node::Environment.new(Puppet[:environment]).known_resource_types) [snip]
> which changes --parseonly to dump the AST forest to stdout instead of > just constructing it and throwing it out. I also typically filter the > output with "grep -v" or some such to skip the stuff I don't care > about. Ah, yes! This is very much what I was hoping for! Many thanks! -- "Here is the memo if you didn't receive it: GNOME and Free Software is all about *SAVING THE WORLD* not drawing pissy little buttons on the screen." -- Jeff Waugh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.