aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-03-24 16:44:59 +0000
committerNicolas Vigier <boklm@mageia.org>2011-03-24 16:44:59 +0000
commit4d29b3aa473e9c639c008e77471ac9a785edfc12 (patch)
treeb7df31405e666e5f4820d66e215de3cda00c8801 /modules
parent11527e085de71dfda05c05452133520d44e7ea5c (diff)
downloadpuppet-4d29b3aa473e9c639c008e77471ac9a785edfc12.tar
puppet-4d29b3aa473e9c639c008e77471ac9a785edfc12.tar.gz
puppet-4d29b3aa473e9c639c008e77471ac9a785edfc12.tar.bz2
puppet-4d29b3aa473e9c639c008e77471ac9a785edfc12.tar.xz
puppet-4d29b3aa473e9c639c008e77471ac9a785edfc12.zip
add maintdb
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/init.pp3
-rw-r--r--modules/buildsystem/templates/submit-upload.conf8
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 438b4651..32f82086 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -12,6 +12,9 @@ class buildsystem {
# FIXME: maybe keyid should be defined at an other place
$sign_keyid = "80420F66"
$repository_root = "/distrib/bootstrap"
+ $maintdb_url = 'http://www.maintdb2.mageia.org.uk/packages'
+ # FIXME: Test password. Real password should be in extdata.
+ $maintdb_key = 'm1g234'
$packagers_group = 'mga-packagers'
$createsrpm_path = '/usr/share/repsys/create-srpm'
diff --git a/modules/buildsystem/templates/submit-upload.conf b/modules/buildsystem/templates/submit-upload.conf
index bf39effa..1872215e 100644
--- a/modules/buildsystem/templates/submit-upload.conf
+++ b/modules/buildsystem/templates/submit-upload.conf
@@ -44,6 +44,7 @@ targets:
# - dkms_module_info
- archive
- mail
+ - maintdb
posts:
- genhdlist2
- mirror
@@ -71,6 +72,7 @@ targets:
# - dkms_module_info
- archive
- mail
+ - maintdb
posts:
- genhdlist2
@@ -247,6 +249,12 @@ actions:
from: buildsystem-daemon@<%= domain %>
prefix: RPM
+ maintdb:
+ Youri::Submit::Action::UpdateMaintDb
+ options:
+ maintdb_url: <%= maintdb_url %>
+ maintdb_key: <%= maintdb_key %>
+
posts:
genhdlist2:
class: Youri::Submit::Post::Genhdlist2