[Pkg-puppet-devel] Bug#1078911: missing reports cleanup job

Antoine Beaupré anarcat at debian.org
Sat Aug 17 16:35:52 BST 2024


Actually, my investigation wasn't quite correct there: I was looking in
the "old" /var/lib/puppet/reports directory, which is now
/var/lib/puppetserver/reports directory...

So we should do this:

 1. make sure we either move /var/lib/puppet/reports to
    /var/lib/puppetserver/reports on upgrade (or destroy the former when
    puppet-master is purged)

 2. add a cron job to automatically cleanup
    /var/lib/puppetserver/reports

The results from the three commands where still similar, but yielded a
*lot* more reports, 93080 to be exact. The cleanup ended up releasing
more than 40GB of disk space, with 3GB remaining.

a.
-- 
The individual has always had to struggle to keep from being overwhelmed
by the tribe. If you try it, you will be lonely often, and sometimes
frightened. But no price is too high to pay for the privilege of owning
yourself.                - Friedrich Nietzsche



More information about the Pkg-puppet-devel mailing list