diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-04-11 09:13:02 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-04-11 09:13:02 +0000 |
commit | 2a2f223bc645e95f5d2acbd2a57806c83fa87fc2 (patch) | |
tree | 5d2989094bad8cf2b3620bd0d935d537d076cf66 /modules | |
parent | d7cdad3f4d8b423a1ff13fcdfb6dde3fca06ccda (diff) | |
download | puppet-2a2f223bc645e95f5d2acbd2a57806c83fa87fc2.tar puppet-2a2f223bc645e95f5d2acbd2a57806c83fa87fc2.tar.gz puppet-2a2f223bc645e95f5d2acbd2a57806c83fa87fc2.tar.bz2 puppet-2a2f223bc645e95f5d2acbd2a57806c83fa87fc2.tar.xz puppet-2a2f223bc645e95f5d2acbd2a57806c83fa87fc2.zip |
Remove files from uploads/ after 2 weeks
Diffstat (limited to 'modules')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index e285428a..959a110c 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -182,6 +182,12 @@ class buildsystem { owner => $sched_login, group => $sched_login, } + + tidy { "$sched_home_dir/uploads/": + age => "2w", + recurse => true, + type => "ctime", + } tidy { "$packages_archivedir": age => "1w", |