aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mirror_cleaner
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2019-10-27 12:47:42 +0000
committerPascal Terjan <pterjan@mageia.org>2019-10-27 12:47:42 +0000
commite77b4b1a7505c77d43481b7ff8b74e23ba036fcc (patch)
tree80fe648c49584c2b26e204691d7be26432a9927c /modules/mirror_cleaner
parent8247be523d75574ab70fdc093b31453a4050beec (diff)
downloadpuppet-e77b4b1a7505c77d43481b7ff8b74e23ba036fcc.tar
puppet-e77b4b1a7505c77d43481b7ff8b74e23ba036fcc.tar.gz
puppet-e77b4b1a7505c77d43481b7ff8b74e23ba036fcc.tar.bz2
puppet-e77b4b1a7505c77d43481b7ff8b74e23ba036fcc.tar.xz
puppet-e77b4b1a7505c77d43481b7ff8b74e23ba036fcc.zip
Disable orphan cleaner
Diffstat (limited to 'modules/mirror_cleaner')
-rw-r--r--modules/mirror_cleaner/manifests/orphans.pp17
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/mirror_cleaner/manifests/orphans.pp b/modules/mirror_cleaner/manifests/orphans.pp
index ccf6cb39..90be9a8c 100644
--- a/modules/mirror_cleaner/manifests/orphans.pp
+++ b/modules/mirror_cleaner/manifests/orphans.pp
@@ -7,13 +7,16 @@ define mirror_cleaner::orphans($base) {
ensure => directory
}
- cron { "clean orphans ${name}":
- command => "/usr/local/bin/orphans_cleaner.pl ${base}/${name} ${orphan_dir}",
- hour => 5,
- minute => 30,
- weekday => 1,
- user => root,
- }
+# Disable cleaning as the ruby version is smarter and this one tends to break things
+# It should probably be deleted
+#
+# cron { "clean orphans ${name}":
+# command => "/usr/local/bin/orphans_cleaner.pl ${base}/${name} ${orphan_dir}",
+# hour => 5,
+# minute => 30,
+# weekday => 1,
+# user => root,
+# }
tidy { $orphan_dir:
type => 'ctime',