On Apr 22, 2014, at 12:49 PM, Matt Wise <[email protected]> wrote: When we run our puppet-catalog-test runs ( https://github.com/invadersmustdie/puppet-catalog-test), we'd like to generate and save the .dot graph files so that we can turn them into images. I don;t know enough about the internal workings of Ruby/Puppet to do this -- but does anyone have any ideas? I'm sure it will require patching puppet-catalog-test
I don't know anything about puppet-catalog-test, but IIRC the Catalog class has a 'to_dot' method on it; you should be able to call that, and just send the output to disk. If you search for 'dot' or 'to_dot' in the code base, you should be able to track it down pretty quickly, I think. (It's been ages since I looked at this, but I don't think it's changed much.) -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/-8782552185237961769%40unknownmsgid. For more options, visit https://groups.google.com/d/optout.
