All www and static mirrors run jessie
authorJulien Cristau <jcristau@debian.org>
Wed, 27 Jul 2016 17:31:17 +0000 (19:31 +0200)
committerJulien Cristau <jcristau@debian.org>
Wed, 27 Jul 2016 17:31:17 +0000 (19:31 +0200)
Remove no longer needed apache 2.4 conditionals

Signed-off-by: Julien Cristau <jcristau@debian.org>
modules/roles/templates/apache-www.debian.org.erb
modules/roles/templates/static-mirroring/static-vhost.conf.erb
modules/roles/templates/static-mirroring/vhost/lintian.debian.org.erb
modules/roles/templates/static-mirroring/vhost/planet.debian.org.erb

index 3442b9f..5c9d125 100644 (file)
   # Make sure that the srm.conf directive is commented out.
   AddDefaultCharSet Off
   AllowOverride AuthConfig FileInfo
-  <% if @lsbmajdistrelease > '7' -%>
-    Require all granted
-  <% end -%>
-
+  Require all granted
 
   # Serve icons as image/x-icon
   AddType image/x-icon .ico
index 6b857fc..ad39851 100644 (file)
                AllowOverride FileInfo Indexes Options=Multiviews
                Options Indexes SymLinksIfOwnerMatch
                IndexOptions FancyIndexing NameWidth=*
-               <% if @lsbmajdistrelease > '7' -%>
-                       Require all granted
-               <% else -%>
-                       Order allow,deny
-                       Allow from all
-               <% end -%>
+               Require all granted
        </Directory>
 
        Header set Surrogate-Key <%= hostname %>
index 2bf974f..4e45371 100644 (file)
@@ -20,9 +20,7 @@ Use common-dsa-vhost-https-redirect lintian.debian.org
        AddDefaultCharset utf-8
 
        <Directory /srv/static.debian.org/mirrors/lintian.debian.org/cur>
-               <% if @lsbmajdistrelease > '7' -%>
-                       Require all granted
-               <% end -%>
+               Require all granted
 
                # These three lines makes apache serve
                # "lintian.log.gz" as a text/plain with encoding gzip
index 20f9298..8cecd35 100644 (file)
 
        DocumentRoot /srv/static.debian.org/mirrors/planet.debian.org/cur
        AddDefaultCharset utf-8
-       <% if @lsbmajdistrelease > '7' -%>
-               <Directory /srv/static.debian.org/mirrors/planet.debian.org/cur>
-                       Require all granted
-               </Directory>
-       <% end -%>
+       <Directory /srv/static.debian.org/mirrors/planet.debian.org/cur>
+               Require all granted
+       </Directory>
 
        RewriteEngine On
        RewriteCond %{HTTP_HOST} ^planeta.debian.net$ [NC]