From 5f98e0a81de2c062e0d38bc72e3c52f3bc5b757b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 2 Feb 2011 23:18:03 +0000 Subject: clean the old report ( already 2G on valstar ) --- modules/puppet/manifests/init.pp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/puppet/manifests/init.pp b/modules/puppet/manifests/init.pp index 641f5588..85870cdd 100644 --- a/modules/puppet/manifests/init.pp +++ b/modules/puppet/manifests/init.pp @@ -58,7 +58,14 @@ class puppet { group => root, mode => 644, content => template("puppet/tagmail.conf"), - } - + } + + tidy { "/var/lib/puppet/reports": + age => "1m", + matches => "*.yaml", + recurse => true, + type => "mtime", + } + } } -- cgit v1.2.1