Store
To enable the store mechanism, use reports = store
. We'll add this to our log destination in this example, as shown in the following snippet:
[main] reports = log, store
The default location for reports is reportdir
. To see your current reportdir
directory, use the --configprint
option of master, as shown in the following snippet:
# puppet master --configprint reportdir /var/lib/puppet/reports
The store
option is on by default; however, once you specify the reports
setting as anything in the main
section of puppet.conf
, you disable store
. By placing log
and store
in reports
, we will have both reports. Remember though, once you enable store
for reports
, report
files will start accumulating on the master. It's a good idea to enable purging of ...
Get Mastering Puppet now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.