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!
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!
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
just check the output of a normal puppet agent launch adding --noop
In the output you can see everything (including resources) that would happen without changing anything on your system.