Re: change puppet report retention to 1months worth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-05-16 01:20:26 PM, seth vidal wrote:
> Right now we're keeping 2 months worth of puppet reports on our puppet
> master.
> 
> thats 28GB worth of reports :(
> 
> I'd like to cut that in half.
> 
> need 2 +1's
> 
> -sv
> 
> here's the diff:
> diff --git a/modules/puppet/files/puppet-report-clean.sh
> b/modules/puppet/files/puppet-report-clean.sh
> index 7467d60..d274e2b 100755
> --- a/modules/puppet/files/puppet-report-clean.sh
> +++ b/modules/puppet/files/puppet-report-clean.sh
> @@ -1,4 +1,4 @@
>  #!/bin/bash
>  
> -# clean up all but the last 6 months of puppet reports
> -/usr/sbin/tmpwatch --mtime 1440 /var/lib/puppet/reports/
> +# clean up all but the last 1 month of puppet reports
> +/usr/sbin/tmpwatch --mtime 720 /var/lib/puppet/reports/
+1

Thanks,
Ricky

Attachment: pgp_Tfo2i0RHI.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux