aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-06-11 22:29:31 +0000
committerColin Guthrie <colin@mageia.org>2014-06-11 22:29:31 +0000
commit207b7b75704fbc7be106eb87ced24c8faeb1f934 (patch)
treeeb97d08b9daeabbe9c7e9e19309c25477bfeb98a /deployment/mgagit
parent37668c01c8c11d644c82a0ec8be607bec2f8d3fe (diff)
downloadpuppet-207b7b75704fbc7be106eb87ced24c8faeb1f934.tar
puppet-207b7b75704fbc7be106eb87ced24c8faeb1f934.tar.gz
puppet-207b7b75704fbc7be106eb87ced24c8faeb1f934.tar.bz2
puppet-207b7b75704fbc7be106eb87ced24c8faeb1f934.tar.xz
puppet-207b7b75704fbc7be106eb87ced24c8faeb1f934.zip
mgagit: Add a repo group for infrastructure stuff.
This is slightly recursive as this is where the definitions are kept, but I'll add a readme to the git repo to make sure no-one actually adds definitions in this tree (although a pre-receive hook would be better to really ban it)
Diffstat (limited to 'deployment/mgagit')
-rw-r--r--deployment/mgagit/manifests/init.pp6
-rw-r--r--deployment/mgagit/templates/mgagit.conf6
2 files changed, 12 insertions, 0 deletions
diff --git a/deployment/mgagit/manifests/init.pp b/deployment/mgagit/manifests/init.pp
index 9b19c6b5..00ece81e 100644
--- a/deployment/mgagit/manifests/init.pp
+++ b/deployment/mgagit/manifests/init.pp
@@ -100,6 +100,12 @@ class mgagit(
ml => 'atelier', # NB This is wrong, we should have a doc-commits@ ML (and thus remove this line)
}
+ mgagit::tmpl { 'infrastructure':
+ tmpldir => $gitolite_tmpldir,
+ group => 'sysadmin',
+ ml => 'sysadmin',
+ }
+
mgagit::tmpl { 'org':
tmpldir => $gitolite_tmpldir,
group => 'board',
diff --git a/deployment/mgagit/templates/mgagit.conf b/deployment/mgagit/templates/mgagit.conf
index 963ff698..f6283968 100644
--- a/deployment/mgagit/templates/mgagit.conf
+++ b/deployment/mgagit/templates/mgagit.conf
@@ -18,6 +18,9 @@ repos_config:
- name: doc
maintainer: '@mga-sysadmin'
description: Documentation repository definitions
+ - name: infrastructure
+ maintainer: '@mga-sysadmin'
+ description: Infrastructure repository definitions
- name: org
maintainer: '@mga-sysadmin'
description: Organization repository definitions
@@ -36,6 +39,9 @@ repos_config:
- prefix: doc
gl_template: doc_repo
git_url: file:///git/infrastructure/repositories/doc.git
+ - prefix: infrastructure
+ gl_template: infra_repo
+ git_url: file:///git/infrastructure/repositories/infrastructure.git
- prefix: org
gl_template: org_repo
git_url: file:///git/infrastructure/repositories/org.git