change puppet report retention to 1months worth
Kevin Fenzi
kevin at scrye.com
Mon May 16 17:26:46 UTC 2011
On Mon, 16 May 2011 13:20:26 -0400
seth vidal <skvidal at fedoraproject.org> 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
+1 here. Since we are currently not using these for anything, we can
always increase it later if we decide to actually use them. ;)
kevin
--
> -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/
>
>
>
> ignore the 6months bit - that was apparently a typo :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20110516/874315e6/attachment.bin
More information about the infrastructure
mailing list