Is it possible to somehow list or view dependency tree of the classes, packages, services, and other resources for some host?
I would like to polish my setup so that the first puppet finishes everything. Right now I have problems that I have to have 2 or 3 conncurent runs after installation of blank machine to get it up to working order. Obviously I didn't set up all the dependencies between resources correctly. It would be cool if I could get some kind of output like pstree, or even gui graphs if it's possible.
----- Original Message -----
| Hi
| | Is it possible to somehow list or view dependency tree of the
| classes,
| packages, services, and other resources for some host?
| | I would like to polish my setup so that the first puppet finishes
| everything. Right now I have problems that I have to have 2 or 3
| conncurent runs after installation of blank machine to get it up to
| working order. Obviously I didn't set up all the dependencies between
| resources correctly. It would be cool if I could get some kind of
| output
| like pstree, or even gui graphs if it's possible.
| | | Thank you.
| | | --
| Jakov Sosic
| www.srce.unizg.hr
Add graph = true to the agent section on your puppet client. Then look in /var/lib/puppet/state/graphs. You can then use dot to generate images of the dependencies.
> Add graph = true to the agent section on your puppet client.
> Then look in /var/lib/puppet/state/graphs. You can then use
> dot to generate images of the dependencies.
Thank you. FYI, the command is:
dot -Tpng resoruces.dot -o resources.png
One problem is that it generates very wide images (for example in my
case 22'000 x 500 px).
Is there a way to make it something like 500 x 22'000, so that
dependencies go from left to right and not from top to bottom? It would
be much easier to read such a graph...
On Thu, Jul 26, 2012 at 5:46 AM, Jakov Sosic <jso...@srce.hr> wrote:
> On 07/26/2012 02:04 AM, James A. Peltier wrote:
> > Add graph = true to the agent section on your puppet client.
> > Then look in /var/lib/puppet/state/graphs. You can then use
> > dot to generate images of the dependencies.
> Thank you. FYI, the command is:
> dot -Tpng resoruces.dot -o resources.png
Great, thanks for the tip!
Do puppet have some ready to use feature to collect all that nice graphs on
the server?
> Add graph = true to the agent section on your puppet client.
> Then look in /var/lib/puppet/state/graphs. You can then use dot
> to generate images of the dependencies.
One problem though, I would like the graphs to be vertical and not horizontal. It's easier for me too analyse vertical graphs... It's way hard to do a horizontal scrolling on a 22'000 x 500 graph :-/