diff options
-rw-r--r-- | modules/buildsystem/manifests/scheduler.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/scheduler.pp b/modules/buildsystem/manifests/scheduler.pp index 141de6ce..47ac036e 100644 --- a/modules/buildsystem/manifests/scheduler.pp +++ b/modules/buildsystem/manifests/scheduler.pp @@ -33,7 +33,8 @@ class buildsystem::scheduler { } } if ($buildsystem::var::scheduler::clean_uploads_packages_age != '0') { - tidy { "${buildsystem::var::scheduler::homedir}/uploads": + tidy { "${buildsystem::var::scheduler::homedir}/uploads/**/*.rpm": + path => "${buildsystem::var::scheduler::homedir}/uploads", type => 'ctime', recurse => true, age => $buildsystem::var::scheduler::clean_uploads_packages_age, |