Thomas Noonan II
2013-Nov-11 19:44 UTC
[Puppet Users] Simplest manner to print a node''s catalog
Hello, list: Today a coworker and I were trying to find the easiest way to print the catalog for a node running Puppet 2.6.x (I know, I advised an upgrade) and were coming up empty handed. On a Puppet 3.2.4 node I found /var/lib/puppet/client_data/catalog/${fqdn}.json, but that didn''t exist on the 2.6.x host. I couldn''t find any "puppet [argument]" commands that worked. I was hoping to find something easier than hitting the PuppetDB API with curl. Can someone advise on commands to print the catalog on a node, preferably backwards compatible with Puppet 2.6? Thanks. --Tom Noonan II -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20131111134423.19010a07%40TJNII-Desktop.rackspace.corp. For more options, visit https://groups.google.com/groups/opt_out.
Joe Esposito
2013-Nov-12 01:21 UTC
Re: [Puppet Users] Simplest manner to print a node''s catalog
Hey Tom, This works on puppet 2.6.3 (on Ubuntu 10.04) #puppet master --compile nodename Joe Esposito On Mon, Nov 11, 2013 at 1:44 PM, Thomas Noonan II <tom@tjnii.com> wrote:> Hello, list: > Today a coworker and I were trying to find the easiest way to > print the catalog for a node running Puppet 2.6.x (I know, I advised an > upgrade) and were coming up empty handed. On a Puppet 3.2.4 node I > found /var/lib/puppet/client_data/catalog/${fqdn}.json, but that didn''t > exist on the 2.6.x host. I couldn''t find any "puppet [argument]" > commands that worked. I was hoping to find something easier than > hitting the PuppetDB API with curl. > Can someone advise on commands to print the catalog on a node, > preferably backwards compatible with Puppet 2.6? Thanks. > > --Tom Noonan II > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/20131111134423.19010a07%40TJNII-Desktop.rackspace.corp > . > For more options, visit https://groups.google.com/groups/opt_out. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAKgN-qoB0phwqvbkq0vyx0XnkThsDDaJvSAbXP0_RbgQUAWuUw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Tom Noonan
2013-Nov-12 01:47 UTC
Re: [Puppet Users] Simplest manner to print a node''s catalog
Nice, I didn''t think to check the master arguments. Gracias! On Mon, 11 Nov 2013 19:21:43 -0600 Joe Esposito <joe@j-espo.com> wrote:> Hey Tom, > > This works on puppet 2.6.3 (on Ubuntu 10.04) > > #puppet master --compile nodename > > Joe Esposito > > > On Mon, Nov 11, 2013 at 1:44 PM, Thomas Noonan II <tom@tjnii.com> > wrote: > > > Hello, list: > > Today a coworker and I were trying to find the easiest way > > to print the catalog for a node running Puppet 2.6.x (I know, I > > advised an upgrade) and were coming up empty handed. On a Puppet > > 3.2.4 node I > > found /var/lib/puppet/client_data/catalog/${fqdn}.json, but that > > didn''t exist on the 2.6.x host. I couldn''t find any "puppet > > [argument]" commands that worked. I was hoping to find something > > easier than hitting the PuppetDB API with curl. Can someone advise > > on commands to print the catalog on a node, preferably backwards > > compatible with Puppet 2.6? Thanks. > > > > --Tom Noonan II > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Puppet Users" group. > > To unsubscribe from this group and stop receiving emails from it, > > send an email to puppet-users+unsubscribe@googlegroups.com. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/puppet-users/20131111134423.19010a07%40TJNII-Desktop.rackspace.corp > > . > > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20131111194749.16da0f22%40vncBox.tjnii.com. For more options, visit https://groups.google.com/groups/opt_out.