diff options
author | Pascal Terjan <pterjan@mageia.org> | 2019-10-27 12:57:14 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2019-10-27 12:57:14 +0000 |
commit | 2ed6616ce8b2910867341446ffd5cecb2cb25a26 (patch) | |
tree | 8dc269a198026320c1c290f3b1be7fffbd236dec | |
parent | e77b4b1a7505c77d43481b7ff8b74e23ba036fcc (diff) | |
download | puppet-2ed6616ce8b2910867341446ffd5cecb2cb25a26.tar puppet-2ed6616ce8b2910867341446ffd5cecb2cb25a26.tar.gz puppet-2ed6616ce8b2910867341446ffd5cecb2cb25a26.tar.bz2 puppet-2ed6616ce8b2910867341446ffd5cecb2cb25a26.tar.xz puppet-2ed6616ce8b2910867341446ffd5cecb2cb25a26.zip |
Add a cron for mga-clean-distrib
-rw-r--r-- | modules/buildsystem/manifests/youri_submit.pp | 7 |
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, |