$onion_v4_addr = $::hostname ? {
busoni => '140.211.15.34',
klecker => '130.89.148.14',
- mirror-isc => '149.20.20.22',
+ mirror-isc => '149.20.4.15',
senfter => '5.153.231.4',
default => undef,
}
$vhost_listen = $::hostname ? {
klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80',
- mirror-isc => '149.20.20.22:80 [2001:4f8:8:36::1deb:22]: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',
- mirror-isc => '149.20.20.22:443 [2001:4f8:8:36::1deb:22]: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',
}
content => template('roles/apache-www.debian.org.erb'),
}
- ssl::service { 'www.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], }
+ ssl::service { 'www.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'debian.org' :
+ ensure => has_static_component('www.debian.org') ? { true => "present", false => "absent" },
+ notify => Exec['service apache2 reload'],
+ key => true,
+ }
# do
ssl::service { 'appstream.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'apt.buildd.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'backports.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'bits.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'blends.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'd-i.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true }
+ ssl::service { 'deb.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true }
ssl::service { 'dsa.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true }
ssl::service { 'incoming.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'incoming.ports.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, }
# do
onion::service { 'appstream.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr }
+ onion::service { 'apt.buildd.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr }
onion::service { 'backports.debian.org' : ensure => "ifstatic", port => 80, target_port => 80, target_address => $onion_v4_addr }
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 }