ssl for {news,debaday,timeline}.debian.net, debconf[4567].debconf.org
authorPeter Palfrader <peter@palfrader.org>
Tue, 2 Feb 2016 07:59:53 +0000 (08:59 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 2 Feb 2016 07:59:53 +0000 (08:59 +0100)
modules/roles/manifests/static_mirror.pp
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index fea2e35..da7b5a5 100644 (file)
@@ -91,8 +91,15 @@ class roles::static_mirror {
                notify => Service['apache2'],
        }
 
                notify => Service['apache2'],
        }
 
+       if has_static_component('news.debian.net'     ) { ssl::service { 'news.debian.net'     : notify => Service['apache2'], key => true, } }
+       if has_static_component('debaday.debian.net'  ) { ssl::service { 'debaday.debian.net'  : notify => Service['apache2'], key => true, } }
+       if has_static_component('timeline.debian.net' ) { ssl::service { 'timeline.debian.net' : notify => Service['apache2'], key => true, } }
        if has_static_component('debconf0.debconf.org') { ssl::service { 'debconf0.debconf.org': notify => Service['apache2'], key => true, } }
        if has_static_component('debconf1.debconf.org') { ssl::service { 'debconf1.debconf.org': notify => Service['apache2'], key => true, } }
        if has_static_component('debconf2.debconf.org') { ssl::service { 'debconf2.debconf.org': notify => Service['apache2'], key => true, } }
        if has_static_component('debconf3.debconf.org') { ssl::service { 'debconf3.debconf.org': notify => Service['apache2'], key => true, } }
        if has_static_component('debconf0.debconf.org') { ssl::service { 'debconf0.debconf.org': notify => Service['apache2'], key => true, } }
        if has_static_component('debconf1.debconf.org') { ssl::service { 'debconf1.debconf.org': notify => Service['apache2'], key => true, } }
        if has_static_component('debconf2.debconf.org') { ssl::service { 'debconf2.debconf.org': notify => Service['apache2'], key => true, } }
        if has_static_component('debconf3.debconf.org') { ssl::service { 'debconf3.debconf.org': notify => Service['apache2'], key => true, } }
+       if has_static_component('debconf4.debconf.org') { ssl::service { 'debconf4.debconf.org': notify => Service['apache2'], key => true, } }
+       if has_static_component('debconf5.debconf.org') { ssl::service { 'debconf5.debconf.org': notify => Service['apache2'], key => true, } }
+       if has_static_component('debconf6.debconf.org') { ssl::service { 'debconf6.debconf.org': notify => Service['apache2'], key => true, } }
+       if has_static_component('debconf7.debconf.org') { ssl::service { 'debconf7.debconf.org': notify => Service['apache2'], key => true, } }
 }
 }
index d19ebb8..2f38b7e 100644 (file)
@@ -18,10 +18,10 @@ lines = []
 vhost(lines, "mozilla.debian.net")
 vhost(lines, "backports.debian.org")
 vhost(lines, "incoming.debian.org")
 vhost(lines, "mozilla.debian.net")
 vhost(lines, "backports.debian.org")
 vhost(lines, "incoming.debian.org")
-vhost(lines, "news.debian.net")
-vhost(lines, "debaday.debian.net")
 vhost(lines, "debdeltas.debian.net")
 vhost(lines, "debdeltas.debian.net")
-vhost(lines, "timeline.debian.net")
+vhost(lines, "news.debian.net"         , "ssl")
+vhost(lines, "debaday.debian.net"      , "ssl")
+vhost(lines, "timeline.debian.net"     , "ssl")
 vhost(lines, "network-test.debian.org" , "with-extra", '"ServerAlias network-test-backend.debian.org"')
 vhost(lines, "blends.debian.org"       , "with-extra", '"ServerAlias blends-backend.debian.org"')
 vhost(lines, "wnpp-by-tags.debian.net" , "with-extra", '"ServerAlias wnpp-by-tags-backend.debian.org"')
 vhost(lines, "network-test.debian.org" , "with-extra", '"ServerAlias network-test-backend.debian.org"')
 vhost(lines, "blends.debian.org"       , "with-extra", '"ServerAlias blends-backend.debian.org"')
 vhost(lines, "wnpp-by-tags.debian.net" , "with-extra", '"ServerAlias wnpp-by-tags-backend.debian.org"')
@@ -36,10 +36,10 @@ vhost(lines, "debconf0.debconf.org", "ssl")
 vhost(lines, "debconf1.debconf.org", "ssl")
 vhost(lines, "debconf2.debconf.org", "ssl")
 vhost(lines, "debconf3.debconf.org", "ssl")
 vhost(lines, "debconf1.debconf.org", "ssl")
 vhost(lines, "debconf2.debconf.org", "ssl")
 vhost(lines, "debconf3.debconf.org", "ssl")
-vhost(lines, "debconf4.debconf.org")
-vhost(lines, "debconf5.debconf.org")
-vhost(lines, "debconf6.debconf.org")
-vhost(lines, "debconf7.debconf.org")
+vhost(lines, "debconf4.debconf.org", "ssl")
+vhost(lines, "debconf5.debconf.org", "ssl")
+vhost(lines, "debconf6.debconf.org", "ssl")
+vhost(lines, "debconf7.debconf.org", "ssl")
 vhost(lines, "es.debconf.org")
 vhost(lines, "fr.debconf.org")
 vhost(lines, "miniconf10.debconf.org")
 vhost(lines, "es.debconf.org")
 vhost(lines, "fr.debconf.org")
 vhost(lines, "miniconf10.debconf.org")