aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-08-20 22:22:34 +0000
committerColin Guthrie <colin@mageia.org>2013-08-20 22:22:34 +0000
commitee10020db29c624584452154b677be5e729b8605 (patch)
treeaa4468eaeba82dfcf3d0b46128aa7105d8326af1 /deployment/mgagit/templates
parentd0f8559baf5bdcaab9f04aaeb2d945efdadb94e5 (diff)
downloadpuppet-ee10020db29c624584452154b677be5e729b8605.tar
puppet-ee10020db29c624584452154b677be5e729b8605.tar.gz
puppet-ee10020db29c624584452154b677be5e729b8605.tar.bz2
puppet-ee10020db29c624584452154b677be5e729b8605.tar.xz
puppet-ee10020db29c624584452154b677be5e729b8605.zip
mgagit: Hopefully fix my puppet syntax errors
This just splits the template writer out into it's own define.
Diffstat (limited to 'deployment/mgagit/templates')
-rw-r--r--deployment/mgagit/templates/group_owned_repo.gl10
1 files changed, 5 insertions, 5 deletions
diff --git a/deployment/mgagit/templates/group_owned_repo.gl b/deployment/mgagit/templates/group_owned_repo.gl
index 0e5ae7c1..9187757d 100644
--- a/deployment/mgagit/templates/group_owned_repo.gl
+++ b/deployment/mgagit/templates/group_owned_repo.gl
@@ -5,10 +5,10 @@ repo [% repo %]
RW topic/ = [% maintainer %]
RW refs/tags/ = [% maintainer %]
[% IF r.repos.$repo.lockdown != 'yes' -%]
- RW master$ = @mga-<%= @repogroup %>
- RW distro/ = @mga-<%= @repogroup %>
- RW topic/ = @mga-<%= @repogroup %>
- RW refs/tags/ = @mga-<%= @repogroup %>
+ RW master$ = @mga-<%= @group %>
+ RW distro/ = @mga-<%= @group %>
+ RW topic/ = @mga-<%= @group %>
+ RW refs/tags/ = @mga-<%= @group %>
[% END -%]
RW+ user/USER/ = @all
R = @all
@@ -18,7 +18,7 @@ repo [% repo %]
[% IF r.repos.$repo.mailinglist -%]
config hooks.mailinglist = "[% r.repos.$repo.mailinglist %]"
[% ELSE -%]
- config hooks.mailinglist = "<%= @repoml %>-commits@ml.mageia.org"
+ config hooks.mailinglist = "<%= @ml %>-commits@ml.mageia.org"
[% END -%]
[% END -%]
config hooks.emailprefix = "[% repo %] "