aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-01-05 23:39:33 +0000
committerMichael Scherer <misc@mageia.org>2011-01-05 23:39:33 +0000
commitb869cb845ca44a6856dd853501c9b320bf2e1e3c (patch)
tree40fe0a85fba9cd237f2d2d64fed967c2a9d87c44
parenta4167559fbf62b3be286e53fd0fcb6b5cf79f28a (diff)
downloadpuppet-b869cb845ca44a6856dd853501c9b320bf2e1e3c.tar
puppet-b869cb845ca44a6856dd853501c9b320bf2e1e3c.tar.gz
puppet-b869cb845ca44a6856dd853501c9b320bf2e1e3c.tar.bz2
puppet-b869cb845ca44a6856dd853501c9b320bf2e1e3c.tar.xz
puppet-b869cb845ca44a6856dd853501c9b320bf2e1e3c.zip
- do not hardcode domain for packager regexp
-rw-r--r--modules/buildsystem/templates/submit-todo.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/submit-todo.conf b/modules/buildsystem/templates/submit-todo.conf
index b49a18b5..3f3bce0f 100644
--- a/modules/buildsystem/templates/submit-todo.conf
+++ b/modules/buildsystem/templates/submit-todo.conf
@@ -1,3 +1,7 @@
+<%
+escaped_domain = domain.gsub('.','\.')
+%>
+
home: <%= sched_home_dir %>
# repository declaration
@@ -58,7 +62,7 @@ checks:
options:
tags:
release: '(mnb|mga)\d+'
- packager: '<\S+@mageia\.org>$'
+ packager: '<\S+@<%= escaped_domain %>>$'
distribution: '^Mageia'
vendor: '^Mageia.Org$'