Linux – On a puppet node, how to see a list of resources

linuxpuppet

Given access to a single node that is being managed by puppet enterprise, I want to view the list of resources that puppet is managing. How do I do that? Node OS is Ubuntu 14.04. Interested in PE versions 2, 3, and 2015.2.

Thanks!

Best Answer

You can see that on the client node in the resources.txt file.
See: https://docs.puppetlabs.com/references/latest/configuration.html#resourcefile

It's located at $statedir/resources.txt so usually at /var/lib/puppet/state/resources.txt or /opt/puppetlabs/puppet/cache/state/resources.txt