Added gzip compression of old puppet reports.
This commit is contained in:
parent
c2a82e83a8
commit
774d0b4785
1 changed files with 1 additions and 0 deletions
|
@ -3,3 +3,4 @@
|
||||||
MAXAGE=<%= puppet_report_maxage %>
|
MAXAGE=<%= puppet_report_maxage %>
|
||||||
|
|
||||||
/usr/sbin/tmpwatch -m ${MAXAGE} /srv/puppet/reports
|
/usr/sbin/tmpwatch -m ${MAXAGE} /srv/puppet/reports
|
||||||
|
find /srv/puppet/reports/ -mindepth 2 -mmin +1440 -type f -name \*.yaml -exec gzip {} \;
|
||||||
|
|
Loading…
Add table
Reference in a new issue