From 4d29b3aa473e9c639c008e77471ac9a785edfc12 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 24 Mar 2011 16:44:59 +0000 Subject: add maintdb --- modules/buildsystem/manifests/init.pp | 3 +++ modules/buildsystem/templates/submit-upload.conf | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'modules') 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 -- cgit v1.2.1