aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-02-26 23:38:03 +0000
committerPascal Terjan <pterjan@mageia.org>2011-02-26 23:38:03 +0000
commitf78aa3363e6711400cb9571503d6dd7a04304592 (patch)
treef12c3adac91ac73c94052e634faf8aa805b7504d
parent13e7a21f3a6f8172537d4983499cb8c8a2208df8 (diff)
downloadpuppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar
puppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar.gz
puppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar.bz2
puppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar.xz
puppet-f78aa3363e6711400cb9571503d6dd7a04304592.zip
Clean archived rpm after 2 days
-rw-r--r--modules/buildsystem/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 0d5aace0..a2a6011a 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -179,6 +179,13 @@ class buildsystem {
owner => $sched_login,
group => $sched_login,
}
+
+ tidy { "$packages_archivedir":
+ age => "2d",
+ matches => "*.rpm",
+ recurse => true,
+ type => "mtime",
+ }
}
class youri_submit {