Let the mail front ends handle release
[mirror/dsa-puppet.git] / modules / roles / manifests / static_mirror.pp
index 5962bf5..aa3e69c 100644 (file)
@@ -31,6 +31,10 @@ class roles::static_mirror {
                klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80',
                default => '*:80',
        }
+       $vhost_listen_443 = $::hostname ? {
+               klecker => '130.89.148.14:443 [2001:610:1908:b000::148:14]:443',
+               default => '*:443',
+       }
 
        apache2::config { 'local-static-vhost.conf':
                content => template('roles/static-mirroring/static-vhost.conf.erb'),
@@ -47,7 +51,7 @@ class roles::static_mirror {
        }
 
        $wwwdo_document_root = '/srv/static.debian.org/mirrors/www.debian.org/cur'
-       apache2::site { '010-www.debian.org':
+       apache2::site { '005-www.debian.org':
                site   => 'www.debian.org',
                content => template('roles/apache-www.debian.org.erb'),
        }
@@ -55,4 +59,10 @@ class roles::static_mirror {
        ssl::service { 'dsa.debian.org':
                notify => Service['apache2'],
        }
+       ssl::service { 'www.debian.org':
+               notify => Service['apache2'],
+       }
+       ssl::service { 'rtc.debian.org':
+               notify => Service['apache2'],
+       }
 }