aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-11-28 13:05:39 +0000
committerPascal Terjan <pterjan@gmail.com>2016-11-28 13:05:39 +0000
commit049110a920072d3d3856572390f4bb6ac2ea8b6f (patch)
tree56a481828e09c98ecf01e1025fa53ddbfed6753d /modules
parent249ed0906d667d673c90e4f8cdcebe49ac8a6915 (diff)
downloadpuppet-049110a920072d3d3856572390f4bb6ac2ea8b6f.tar
puppet-049110a920072d3d3856572390f4bb6ac2ea8b6f.tar.gz
puppet-049110a920072d3d3856572390f4bb6ac2ea8b6f.tar.bz2
puppet-049110a920072d3d3856572390f4bb6ac2ea8b6f.tar.xz
puppet-049110a920072d3d3856572390f4bb6ac2ea8b6f.zip
Fix duplicate name
Diffstat (limited to 'modules')
-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,