A quick rundown of what we've learned in this chapter.
You can get a summary report of what Puppet did on its run by using the --summarize
flag with puppet apply
. For more detailed reporting, enable reports by setting report=true in /etc/puppet/puppet.conf
.
Puppet will write report files to (by default, but you can change this) /var/lib/puppet/reports
, in a directory named after the machine's hostname. Each report file will be named according to the date and time of the Puppet run it covers.
Puppet's report files include some summary data about the run itself, and how many resources were found to be out of sync with the manifest. This is followed by a detailed list of all the resources on the server and the number of properties that were changed or out of sync for each resource.
If any resource was changed, the report will include details of each property that was changed, with its previous value and updated value.