aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2019-06-28 18:18:02 +0300
committerThomas Backlund <tmb@mageia.org>2019-06-28 18:18:02 +0300
commitfac07415205044bcf14f649dd1a6107c9dcdf225 (patch)
tree09c5b0bbd4ede9584c731376aab38d4e206798d8
parente23b77127c6809d9114dadaeee218e5c4ffef6c5 (diff)
downloadpuppet-fac07415205044bcf14f649dd1a6107c9dcdf225.tar
puppet-fac07415205044bcf14f649dd1a6107c9dcdf225.tar.gz
puppet-fac07415205044bcf14f649dd1a6107c9dcdf225.tar.bz2
puppet-fac07415205044bcf14f649dd1a6107c9dcdf225.tar.xz
puppet-fac07415205044bcf14f649dd1a6107c9dcdf225.zip
update createrepo for cauldron and zchunk dicts
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp2
-rw-r--r--modules/buildsystem/manifests/var/youri.pp6
2 files changed, 7 insertions, 1 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index c4a5e809..1c9407f6 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -211,7 +211,7 @@ class mga_buildsystem::config {
],
'posts' => [
'genhdlist2',
- 'createrepo',
+ 'createrepo_cauldron',
'clean_rpmsrate',
'mirror',
],
diff --git a/modules/buildsystem/manifests/var/youri.pp b/modules/buildsystem/manifests/var/youri.pp
index 11904fbb..644968fd 100644
--- a/modules/buildsystem/manifests/var/youri.pp
+++ b/modules/buildsystem/manifests/var/youri.pp
@@ -260,6 +260,12 @@ class buildsystem::var::youri(
'command' => 'createrepo_c --no-database --update --workers=10',
},
},
+ 'createrepo_cauldron' => {
+ 'class' => 'Youri::Submit::Post::RunOnModifiedMedia',
+ 'options' => {
+ 'command' => 'createrepo_c --no-database --update --workers=10 --zck --zck-dict-dir /usr/share/mageia-repo-zdicts/cauldron/',
+ },
+ },
'clean_rpmsrate' => {
'class' => 'Youri::Submit::Post::CleanRpmsrate',
},