On 7/22/2013 11:53 AM, Reginald Choudari wrote:
I'm seeing on my puppetmasters that after a while, their
/var/lib/puppet/reports folder eventually hogs up all available disk
space. I'm just wondering how other people face this problem; is there
some puppet configuration that will take care of this. Otherwise, I can
implement a simple cron task.
There isn't an configuration that I'm aware of and I use the following cron.
# Puppet Name: puppet delete reports
43 * * * * find /var/lib/puppet/reports/ -mmin +300 -type f -print0 |
xargs -0 -r rm > /dev/null 2>&1
300 minutes might be too quick depending on how you use reports or how
much you care about them. Modify as needed.
Ramin
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.