aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-03-13 08:59:57 +0000
committerColin Guthrie <colin@mageia.org>2014-03-13 08:59:57 +0000
commite047e7a603da470d757106cdc9b5ee560343d29d (patch)
treedaa8bc5536605d0c68736302bd56ba272155b28e /deployment/mgagit
parentced6c8e9329c93ee1f5535b850cac80774ff86d3 (diff)
downloadpuppet-e047e7a603da470d757106cdc9b5ee560343d29d.tar
puppet-e047e7a603da470d757106cdc9b5ee560343d29d.tar.gz
puppet-e047e7a603da470d757106cdc9b5ee560343d29d.tar.bz2
puppet-e047e7a603da470d757106cdc9b5ee560343d29d.tar.xz
puppet-e047e7a603da470d757106cdc9b5ee560343d29d.zip
Setup git repository groups for 'artwork', 'doc' and 'qa'
Diffstat (limited to 'deployment/mgagit')
-rw-r--r--deployment/mgagit/manifests/init.pp14
-rw-r--r--deployment/mgagit/templates/mgagit.conf18
2 files changed, 32 insertions, 0 deletions
diff --git a/deployment/mgagit/manifests/init.pp b/deployment/mgagit/manifests/init.pp
index ba7f88ae..56e2fe80 100644
--- a/deployment/mgagit/manifests/init.pp
+++ b/deployment/mgagit/manifests/init.pp
@@ -90,6 +90,20 @@ class mgagit(
content => template('mgagit/repodef_repo.gl'),
}
+ mgagit::tmpl { 'artwork':
+ tmpldir => $gitolite_tmpldir,
+ ml => 'atelier',
+ }
+
+ mgagit::tmpl { 'doc':
+ tmpldir => $gitolite_tmpldir,
+ ml => 'atelier', # NB This is wrong, we should have a doc-commits@ ML (and thus remove this line)
+ }
+
+ mgagit::tmpl { 'qa':
+ tmpldir => $gitolite_tmpldir,
+ }
+
mgagit::tmpl { 'soft':
tmpldir => $gitolite_tmpldir,
group => 'packagers-committers',
diff --git a/deployment/mgagit/templates/mgagit.conf b/deployment/mgagit/templates/mgagit.conf
index 783f6fea..bbef5732 100644
--- a/deployment/mgagit/templates/mgagit.conf
+++ b/deployment/mgagit/templates/mgagit.conf
@@ -12,12 +12,30 @@ repos_config:
- prefix: infrastructure/repositories
gl_template: repodef_repo
repos:
+ - name: artwork
+ maintainer: '@mga-sysadmin'
+ description: Artwork repository definitions
+ - name: doc
+ maintainer: '@mga-sysadmin'
+ description: Documentation repository definitions
+ - name: qa
+ maintainer: '@mga-sysadmin'
+ description: QA repository definitions
- name: software
maintainer: '@mga-sysadmin'
description: Software repository definitions
- name: web
maintainer: '@mga-sysadmin'
description: Website repository definitions
+ - prefix: artwork
+ gl_template: artwork_repo
+ git_url: file:///git/infrastructure/repositories/artwork.git
+ - prefix: doc
+ gl_template: doc_repo
+ git_url: file:///git/infrastructure/repositories/doc.git
+ - prefix: qa
+ gl_template: qa_repo
+ git_url: file:///git/infrastructure/repositories/qa.git
- prefix: software
gl_template: soft_repo
git_url: file:///git/infrastructure/repositories/software.git