aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests')
-rw-r--r--modules/buildsystem/manifests/scheduler.pp3
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,