The Dependency Graph

1,012 views
Skip to first unread message

Keith Edmunds

unread,
Jul 26, 2009, 7:19:16 AM7/26/09
to puppet...@googlegroups.com
The recent discussion of resource ordering has me wondering. Like, I
suspect, many others, I've been caught out by Puppet dependencies being
incorrectly specified. I'm not looking to change Puppet's behaviour - I
happen to think it is correct - but is there a way to output the
dependency graph? I'm not looking for anything fancy: a raw text output is
fine.

Thanks,
Keith

Peter Meier

unread,
Jul 26, 2009, 7:37:33 AM7/26/09
to puppet...@googlegroups.com
Hi

You can generate dot files for your catalog, which will show your
dependecy cycle in an easy way to spot:

http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference#graph
http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#how-do-i-use-puppet-s-graphing-support

cheers pete

James Turnbull

unread,
Jul 26, 2009, 7:39:02 AM7/26/09
to puppet...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

See http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference.

The graph and graphdir options.

Regards

James Turnbull

- --
Author of:
* Pro Linux Systems Administration
(http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet
(http://tinyurl.com/pupbook)
* Pro Nagios 2.0
(http://tinyurl.com/pronagios)
* Hardening Linux
(http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKbEBW9hTGvAxC30ARAg7VAJ0Q9Tx4snZ6CtWDGdOTKD23sypp5ACgmxHZ
BmF057pr23r7WqBJdaiU+ms=
=Lggf
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages