[Mageia-sysadm] [731] do not hardcode schedbot home dir
root at mageia.org
root at mageia.org
Sat Jan 8 23:56:18 CET 2011
Revision: 731
Author: blino
Date: 2011-01-08 23:56:17 +0100 (Sat, 08 Jan 2011)
Log Message:
-----------
do not hardcode schedbot home dir
Modified Paths:
--------------
puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf
Modified: puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf
===================================================================
--- puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf 2011-01-08 21:13:08 UTC (rev 730)
+++ puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf 2011-01-08 22:56:17 UTC (rev 731)
@@ -1,11 +1,11 @@
<%
-pkgsubmit_root = "/home/schedbot/uploads"
+pkgsubmit_root = sched_home_dir + "/uploads"
%>
<VirtualHost *:80>
ServerName pkgsubmit.<%= domain %>
DocumentRoot <%= pkgsubmit_root %>
- Alias /uploads /home/schedbot/uploads
+ Alias /uploads <%= sched_home_dir %>/uploads
<Location />
Allow from all
Options Indexes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110108/e88683c2/attachment.html>
More information about the Mageia-sysadm
mailing list