aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-08-31 15:31:26 +0000
committerColin Guthrie <colin@mageia.org>2013-08-31 15:31:26 +0000
commit1ec41a38798a717d2d1404634ffe806b3fc88720 (patch)
tree502a86f0022574ae8c42695ac58229de9b91c84c /deployment/mgagit
parentec40ad928ef6468716782424ef1afdd07693433e (diff)
downloadpuppet-1ec41a38798a717d2d1404634ffe806b3fc88720.tar
puppet-1ec41a38798a717d2d1404634ffe806b3fc88720.tar.gz
puppet-1ec41a38798a717d2d1404634ffe806b3fc88720.tar.bz2
puppet-1ec41a38798a717d2d1404634ffe806b3fc88720.tar.xz
puppet-1ec41a38798a717d2d1404634ffe806b3fc88720.zip
mgagit: Allow sysadmins to do forced pushes.
This should only be used in very rare circumstances but having the flexibility is useful.
Diffstat (limited to 'deployment/mgagit')
-rw-r--r--deployment/mgagit/templates/group_owned_repo.gl4
1 files changed, 4 insertions, 0 deletions
diff --git a/deployment/mgagit/templates/group_owned_repo.gl b/deployment/mgagit/templates/group_owned_repo.gl
index bbaaa491..588ab375 100644
--- a/deployment/mgagit/templates/group_owned_repo.gl
+++ b/deployment/mgagit/templates/group_owned_repo.gl
@@ -1,5 +1,9 @@
[% SET maintainer = r.repos.$repo.maintainer %]
repo [% repo %]
+ RW+ master$ = @mga-sysadmin
+ RW+ distro/ = @mga-sysadmin
+ RW+ topic/ = @mga-sysadmin
+ RW+ refs/tags/ = @mga-sysadmin
RW master$ = [% maintainer %]
RW distro/ = [% maintainer %]
RW topic/ = [% maintainer %]