Simplest manner to print a node's catalog

82 views
Skip to first unread message

Thomas Noonan II

unread,
Nov 11, 2013, 2:44:23 PM11/11/13
to puppet...@googlegroups.com
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

Joe Esposito

unread,
Nov 11, 2013, 8:21:43 PM11/11/13
to puppet...@googlegroups.com
Hey Tom,

This works on puppet 2.6.3 (on Ubuntu 10.04)

#puppet master --compile nodename

Joe Esposito



--
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...@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.

Tom Noonan

unread,
Nov 11, 2013, 8:47:49 PM11/11/13
to puppet...@googlegroups.com, j...@j-espo.com
Nice, I didn't think to check the master arguments. Gracias!
Reply all
Reply to author
Forward
0 new messages