Is there a way to list all packages that puppet manages for a given agent?
I first thought the answer to this question is to run the following on the puppet agent:
$ puppet resource package
However I suspect this lists a lot more than just what puppet manages, i.e. I think it lists all (top-level) rpms that are directly managed by puppet, along with all the top-level rpm's dependencies. In my case I'm just interested in listing out the top level rpms.