How to list all the files managed by `puppet`

configurationpuppet

I need to make some changes to a system but I am not sure if the changes I make are managed by puppet or not. So I want to check to see if puppet is managing the files I wish to change.

How do you list all the files managed by puppet?

Best Answer

Ever since version 2.7.x you can do:

cat $(puppet agent --configprint resourcefile)

(source of solution)