aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-03-13 22:46:09 +0000
committerPascal Terjan <pterjan@gmail.com>2016-03-13 22:58:16 +0000
commitc8369f205480a3d0cad9a199ac21c3584619491d (patch)
treecd29ac46756888b6c61de1a53eda67a6079f1208
parent378082d49af9d644367802668a7a2c9d92b5988d (diff)
downloadpuppet-c8369f205480a3d0cad9a199ac21c3584619491d.tar
puppet-c8369f205480a3d0cad9a199ac21c3584619491d.tar.gz
puppet-c8369f205480a3d0cad9a199ac21c3584619491d.tar.bz2
puppet-c8369f205480a3d0cad9a199ac21c3584619491d.tar.xz
puppet-c8369f205480a3d0cad9a199ac21c3584619491d.zip
Add createrepo post for cauldron
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp1
-rw-r--r--modules/buildsystem/manifests/var/youri.pp6
2 files changed, 7 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index 7dfe03c2..df605e5d 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -197,6 +197,7 @@ class mga_buildsystem::config {
],
'posts' => [
'genhdlist2',
+ 'createrepo',
'clean_rpmsrate',
'mirror',
],
diff --git a/modules/buildsystem/manifests/var/youri.pp b/modules/buildsystem/manifests/var/youri.pp
index 33a0a2d1..025a23d2 100644
--- a/modules/buildsystem/manifests/var/youri.pp
+++ b/modules/buildsystem/manifests/var/youri.pp
@@ -254,6 +254,12 @@ class buildsystem::var::youri(
'command' => '/usr/bin/genhdlist2 --xml-info-filter ".lzma:xz -T4"',
},
},
+ 'createrepo' => {
+ 'class' => 'Youri::Submit::Post::RunOnModifiedMedia',
+ 'options' => {
+ 'command' => 'createrepo_c --no-database --update --workers=10',
+ },
+ },
'clean_rpmsrate' => {
'class' => 'Youri::Submit::Post::CleanRpmsrate',
},