How do you list all the files managed by `puppet`?
7,578
Ever since version 2.7.x you can do:
cat $(puppet agent --configprint resourcefile)
Related videos on Youtube
Author by
Trevor Boyd Smith
Updated on September 18, 2022Comments
-
Trevor Boyd Smith over 1 year
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 ifpuppet
is managing the files I wish to change.How do you list all the files managed by
puppet
? -
Trevor Boyd Smith about 6 yearsadditionally you oftentimes need to run puppet agent with the
--noop
option to see any other changes that may be enacted.