diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-02 23:18:03 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-02 23:18:03 +0000 |
commit | 5f98e0a81de2c062e0d38bc72e3c52f3bc5b757b (patch) | |
tree | 442bdda17b9dec97ec17094b8063a849ffff8693 /modules | |
parent | 41684519aa964d08810b55337514f43ed2b4c537 (diff) | |
download | puppet-5f98e0a81de2c062e0d38bc72e3c52f3bc5b757b.tar puppet-5f98e0a81de2c062e0d38bc72e3c52f3bc5b757b.tar.gz puppet-5f98e0a81de2c062e0d38bc72e3c52f3bc5b757b.tar.bz2 puppet-5f98e0a81de2c062e0d38bc72e3c52f3bc5b757b.tar.xz puppet-5f98e0a81de2c062e0d38bc72e3c52f3bc5b757b.zip |
clean the old report ( already 2G on valstar )
Diffstat (limited to 'modules')
-rw-r--r-- | modules/puppet/manifests/init.pp | 11 |
1 files changed, 9 insertions, 2 deletions
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", + } + } } |