Added support for removing old puppet reports.
This commit is contained in:
parent
aa423ae302
commit
b703dd7edc
2 changed files with 20 additions and 0 deletions
5
puppet/templates/puppet-report-cleanup.erb
Executable file
5
puppet/templates/puppet-report-cleanup.erb
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
MAXAGE=<%= puppet_report_maxage %>
|
||||
|
||||
/usr/sbin/tmpwatch -m ${MAXAGE} /srv/puppet/reports
|
Loading…
Add table
Add a link
Reference in a new issue