aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests')
-rw-r--r--modules/buildsystem/manifests/youri_submit.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/youri_submit.pp b/modules/buildsystem/manifests/youri_submit.pp
index 8c10b74b..4344ae41 100644
--- a/modules/buildsystem/manifests/youri_submit.pp
+++ b/modules/buildsystem/manifests/youri_submit.pp
@@ -38,6 +38,13 @@ class buildsystem::youri_submit {
tmpl_file => $buildsystem::var::youri::tmpl_youri_todo_conf,
}
+ cron { "Archive orphan packages from cauldron":
+ command => "/usr/local/bin/mga-clean-distrib --auto -v cauldron -d ${buildsystem::var::youri::packages_archivedir},
+ hour => 5,
+ minute => 30,
+ user => $buildsystem::var::scheduler::login,
+ }
+
file { $buildsystem::var::youri::packages_archivedir:
ensure => 'directory',
owner => $buildsystem::var::scheduler::login,