aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-08-21 21:38:39 +0000
committerColin Guthrie <colin@mageia.org>2013-08-21 21:38:39 +0000
commitdafd46ec4d97b1028f75be6bf7a46a0b8228a31b (patch)
tree5f7b1c8f3d4a615a3925b05276216dd7c9b30bc0
parentd0fea1ebf8c3857b40bee5507a4f6b44149df526 (diff)
downloadpuppet-dafd46ec4d97b1028f75be6bf7a46a0b8228a31b.tar
puppet-dafd46ec4d97b1028f75be6bf7a46a0b8228a31b.tar.gz
puppet-dafd46ec4d97b1028f75be6bf7a46a0b8228a31b.tar.bz2
puppet-dafd46ec4d97b1028f75be6bf7a46a0b8228a31b.tar.xz
puppet-dafd46ec4d97b1028f75be6bf7a46a0b8228a31b.zip
Add [] around repo name for emails and quote values to ensure trailing space
-rw-r--r--deployment/mgagit/templates/group_owned_repo.gl2
-rw-r--r--deployment/mgagit/templates/repodef_repo.gl6
2 files changed, 4 insertions, 4 deletions
diff --git a/deployment/mgagit/templates/group_owned_repo.gl b/deployment/mgagit/templates/group_owned_repo.gl
index 151fc140..f7ec2324 100644
--- a/deployment/mgagit/templates/group_owned_repo.gl
+++ b/deployment/mgagit/templates/group_owned_repo.gl
@@ -21,7 +21,7 @@ repo [% repo %]
config hooks.mailinglist = "<%= @ml %>-commits@ml.mageia.org"
[% END -%]
[% END -%]
- config hooks.emailprefix = "[% repo %] "
+ config hooks.emailprefix = "[[% repo %]] "
config hooks.envelopesender = "root@mageia.org"
config gitweb.description = "[% r.repos.$repo.description %]"
[% IF r.users.$maintainer -%]
diff --git a/deployment/mgagit/templates/repodef_repo.gl b/deployment/mgagit/templates/repodef_repo.gl
index 08f58d3d..ebc9d904 100644
--- a/deployment/mgagit/templates/repodef_repo.gl
+++ b/deployment/mgagit/templates/repodef_repo.gl
@@ -2,7 +2,7 @@ repo [% repo %]
RW master$ = [% r.repos.$repo.maintainer %]
RW+ user/USER/ = @all
R = @all
- config hooks.mailinglist = sysadmin-commits@ml.mageia.org
- config hooks.emailprefix = [% repo %]
+ config hooks.mailinglist = "sysadmin-commits@ml.mageia.org"
+ config hooks.emailprefix = "[[% repo %]] "
config hooks.envelopesender = "root@mageia.org"
- config gitweb.description = [% r.repos.$repo.description %]
+ config gitweb.description = "[% r.repos.$repo.description %]"