[Mageia-sysadm] [683] Templatize the file
root at mageia.org
root at mageia.org
Fri Jan 7 01:22:45 CET 2011
Revision: 683
Author: pterjan
Date: 2011-01-07 01:22:45 +0100 (Fri, 07 Jan 2011)
Log Message:
-----------
Templatize the file
Modified Paths:
--------------
puppet/modules/buildsystem/templates/submit-queue.conf
Modified: puppet/modules/buildsystem/templates/submit-queue.conf
===================================================================
--- puppet/modules/buildsystem/templates/submit-queue.conf 2011-01-07 00:19:21 UTC (rev 682)
+++ puppet/modules/buildsystem/templates/submit-queue.conf 2011-01-07 00:22:45 UTC (rev 683)
@@ -1,17 +1,19 @@
+<%
+escaped_domain = domain.gsub('.','\.')
+%>
+home: <%= sched_home_dir %>
-home: /home/schedbot
-
# repository declaration
repository:
class: Youri::Repository::Mageia_upload
options:
- install_root: /distrib/bootstrap/distrib
+ install_root: <%= repository_root %>/distrib
upload_root: ${home}/uploads/
upload_state: queue
queue: queue
noarch: i586
- svn: svn+ssh://svn.mageia.org/svn/packages/cauldron/
+ svn: svn+ssh://svn.<%= domain %>/svn/packages/cauldron/
1.0:
arch: i586 x86_64
cauldron:
@@ -58,7 +60,7 @@
options:
tags:
release: 'mga\d+'
- # packager: '<\S+ at mageia\.org>$'
+ # packager: '<\S+@<%= escaped_domain %>>$'
distribution: '^Mageia'
vendor: '^Mageia.org$'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110107/06f0650c/attachment.html>
More information about the Mageia-sysadm
mailing list