1

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?

1 Answer 1

3

Ever since version 2.7.x you can do:

cat $(puppet agent --configprint resourcefile)

(source of solution)

1
  • additionally you oftentimes need to run puppet agent with the --noop option to see any other changes that may be enacted. Feb 23, 2018 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.