Add codesign bits for secure boot
[mirror/dsa-puppet.git] / modules / roles / manifests / static_mirror.pp
index e86899c..2b0d6e1 100644 (file)
@@ -40,13 +40,13 @@ class roles::static_mirror {
                default    => undef,
        }
        $vhost_listen = $::hostname ? {
-               klecker    => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80',
+               klecker    => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80 [2001:67c:2564:a119::148:14]:80',
                mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
                mirror-anu => '150.203.164.62:80 [2001:388:1034:2900::3e]:80',
                default    => '*:80',
        }
        $vhost_listen_443 = $::hostname ? {
-               klecker    => '130.89.148.14:443 [2001:610:1908:b000::148:14]:443',
+               klecker    => '130.89.148.14:443 [2001:610:1908:b000::148:14]:443 [2001:67c:2564:a119::148:14]:443',
                mirror-isc => '149.20.4.15:443 [2001:4f8:1:c::15]:443',
                mirror-anu => '150.203.164.62:443 [2001:388:1034:2900::3e]:443',
                default    => '*:443',
@@ -197,12 +197,20 @@ class roles::static_mirror {
                ensure => directory,
                mode   => '02755'
        }
-       file { '/srv/static.debian.org/puppet/archive.debian.net':
+       file { '/srv/static.debian.org/puppet/disabled-service':
                ensure => directory,
                mode   => '02755'
        }
+       file { '/srv/static.debian.org/puppet/disabled-service/503.html':
+               source => 'puppet:///modules/roles/static-htdocs/disabled-service/503.html',
+       }
+
+       ssl::service { 'archive.debian.net': ensure => present, notify  => Exec['service apache2 reload'], key => true, }
+       file { '/srv/static.debian.org/puppet/archive.debian.net':
+               ensure => absent,
+       }
        file { '/srv/static.debian.org/puppet/archive.debian.net/503.html':
-               source => 'puppet:///modules/roles/static-htdocs/archive.debian.net/503.html',
+               ensure => absent,
        }
 
 }