diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-02-26 23:38:03 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-02-26 23:38:03 +0000 |
commit | f78aa3363e6711400cb9571503d6dd7a04304592 (patch) | |
tree | f12c3adac91ac73c94052e634faf8aa805b7504d /modules/buildsystem | |
parent | 13e7a21f3a6f8172537d4983499cb8c8a2208df8 (diff) | |
download | puppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar puppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar.gz puppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar.bz2 puppet-f78aa3363e6711400cb9571503d6dd7a04304592.tar.xz puppet-f78aa3363e6711400cb9571503d6dd7a04304592.zip |
Clean archived rpm after 2 days
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 7 |
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 { |