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 -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
----- 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. -- James A. Peltier Manager, IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpeltier@sfu.ca Website : http://www.sfu.ca/itservices http://blogs.sfu.ca/people/jpeltier Success is to be measured not so much by the position that one has reached in life but as by the obstacles they have overcome. - Booker T. Washington -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 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... -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, Jul 26, 2012 at 5:46 AM, Jakov Sosic <jsosic@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? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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. 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 :-/ -- Jakov Sosic www.srce.unizg.hr -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Is it possible, or are there meta-data, or an external solution, which allow one: To filter the output, in such a way as to only display a subset of the graph, such as Users? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/jvbVly3PLcQJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.