X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Froles%2Fmanifests%2Fstatic_mirror.pp;h=4b042eb7b948615d34cf7c178fb6eb62b6e7c0ee;hb=372685900fc51ce956bddc100bc534327946bb10;hp=c859629984c2914b35e6991683f8ee18a1ef85d9;hpb=e2cb6eacb57376c6f039f63149f8c2f631cb1cef;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index c85962998..4b042eb7b 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -32,9 +32,9 @@ class roles::static_mirror { } $onion_v4_addr = $::hostname ? { + busoni => '140.211.15.34', klecker => '130.89.148.14', mirror-isc => '149.20.20.22', - mirror-anu => '150.203.164.62', senfter => '5.153.231.4', default => undef, } @@ -90,6 +90,7 @@ class roles::static_mirror { ssl::service { 'bits.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, } ssl::service { 'blends.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, } ssl::service { 'lintian.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, } + ssl::service { 'onion.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, } ssl::service { 'release.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, } ssl::service { 'security-team.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, } ssl::service { 'www.ports.debian.org' : ensure => "ifstatic", notify => Service['apache2'], key => true, } @@ -128,6 +129,7 @@ class roles::static_mirror { onion::service { 'bits.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } onion::service { 'blends.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } onion::service { 'lintian.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } + onion::service { 'onion.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } onion::service { 'release.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } onion::service { 'security-team.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } onion::service { 'www.ports.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } @@ -149,5 +151,13 @@ class roles::static_mirror { onion::service { 'es.debconf.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } onion::service { 'fr.debconf.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } onion::service { 'miniconf10.debconf.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } + + # non-SSL + onion::service { 'debdeltas.debian.net' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } + onion::service { 'incoming.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } + onion::service { 'incoming.ports.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } + onion::service { 'metadata.ftp-master.debian.org': ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } + onion::service { 'mozilla.debian.net' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } + onion::service { 'planet.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr } } }