Added gzip compression of old puppet reports.

This commit is contained in:
Timo Mkinen 2010-05-21 09:14:58 +03:00
parent c2a82e83a8
commit 774d0b4785

View file

@ -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 {} \;