[Mageia-sysadm] [466] add pkgsubmit vhost

root at mageia.org root at mageia.org
Thu Nov 25 12:46:30 CET 2010


Revision: 466
Author:   blino
Date:     2010-11-25 12:46:30 +0100 (Thu, 25 Nov 2010)
Log Message:
-----------
add pkgsubmit vhost

Modified Paths:
--------------
    puppet/modules/buildsystem/manifests/init.pp

Added Paths:
-----------
    puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf

Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp	2010-11-25 07:48:25 UTC (rev 465)
+++ puppet/modules/buildsystem/manifests/init.pp	2010-11-25 11:46:30 UTC (rev 466)
@@ -31,6 +31,10 @@
             vhost_file => "buildsystem/vhost_repository.conf",
         }
 
+        apache::vhost_other_app { "pkgsubmit.$domain":
+            vhost_file => "buildsystem/vhost_pkgsubmit.conf",
+        }
+
         include scheduler
         include gatherer
     }

Added: puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf
===================================================================
--- puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf	                        (rev 0)
+++ puppet/modules/buildsystem/templates/vhost_pkgsubmit.conf	2010-11-25 11:46:30 UTC (rev 466)
@@ -0,0 +1,13 @@
+<%
+pkgsubmit_root = "/home/schedbot/uploads"
+%>
+
+<VirtualHost *:80>
+        ServerName pkgsubmit.<%= domain %>
+        DocumentRoot <%= pkgsubmit_root %>
+        Alias /uploads /home/schedbot/uploads
+        <Location />
+          Allow from all
+          Options Indexes
+        </Location>
+</VirtualHost>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101125/56264c2b/attachment.html>


More information about the Mageia-sysadm mailing list