Hi, I'm revisiting this topic.
Wasn't garbage collector supposed to clean up the old reports and leave the
last "report-ttl" on disk? Or this is valid only for the reports stored in
the PuppetDB's database?
Regarding "the script way" of removing old reports, we have this line in
cron:
/usr/bin/find /opt/puppetlabs/server/data/puppetserver/reports -type f
-mtime +30 -exec /bin/rm {} ";"
Em quinta-feira, 21 de julho de 2011 04:14:39 UTC-3, Romgo escreveu:
>
> Dear community,
>
> I configure puppet dashboard on my server, in order to make it work I had
> to activate reports from clients.
> The thing is that my folder /var/lib/puppet/reports/ is now 1.6 Go large.
>
> Is there any mechanism available to auto delete old files ?
> Or should I configured my own script to clean up old reports ?
>
> Thanks in advance,
>
> Regards,
>
> Hugo
>
>
>
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/905c8c91-939a-485d-a33a-ec504ca83244%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.