Do /debian alias on spohr differently
[mirror/dsa-puppet.git] / modules / apache2 / templates / default-debian.org.erb
index 2a5beb0..ea0fa67 100644 (file)
        <IfModule mod_userdir.c>
                UserDir disabled
        </IfModule>
-<%=
-case fqdn
-  when "spohr.debian.org" then
-    out += "
-        Alias /debian \"/srv/mirrors/ftp.debian.org/ftp\"
-"
-end
-out
-%>
+<% if hostname == "spohr" -%>
+        Alias /debian "/srv/mirrors/ftp.debian.org/ftp"
+<% end -%>
 </VirtualHost>
 # vim:set syn=apache: