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

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