We have a bunch of puppet manifests bootstrapping nodes. Most of it is legacy code written by many authors.
Instead of looking at the puppet manifests and understanding what has been installed, is it possible to use any puppet command(s) to simply print all the packages, files etc that are being installed/created on a given node?
You should find everything you need in /opt/puppetlabs/puppet/cache/state/resources.txt