}
apache2::site { '010-planet.debian.org':
- site => 'planet.debian.org',
ensure => has_static_component('planet.debian.org') ? { true => 'present', false => 'absent' },
+ site => 'planet.debian.org',
content => template('roles/static-mirroring/vhost/planet.debian.org.erb'),
}
apache2::site { '010-lintian.debian.org':
- site => 'lintian.debian.org',
- ensure => absent,
+ ensure => absent,
+ site => 'lintian.debian.org',
}
apache2::site { '010-static-vhosts-00-manpages':
- site => 'static-manpages.debian.org',
ensure => has_static_component('manpages.debian.org') ? { true => 'present', false => 'absent' },
+ site => 'static-manpages.debian.org',
content => template('roles/static-mirroring/vhost/manpages.debian.org.erb'),
}
apache2::site { '010-static-vhosts-simple':
- site => 'static-vhosts-simple',
+ site => 'static-vhosts-simple',
content => template('roles/static-mirroring/vhost/static-vhosts-simple.erb'),
}
$wwwdo_server_name = 'www.debian.org'
$wwwdo_document_root = '/srv/static.debian.org/mirrors/www.debian.org/cur'
apache2::site { '005-www.debian.org':
- site => 'www.debian.org',
ensure => has_static_component('www.debian.org') ? { true => 'present', false => 'absent' },
+ site => 'www.debian.org',
content => template('roles/apache-www.debian.org.erb'),
}
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,
+ ensure => has_static_component('www.debian.org') ? { true => 'present', false => 'absent' },
+ notify => Exec['service apache2 reload'],
+ key => true,
}
# do
ssl::service { 'manpages.debian.org' : ensure => 'ifstatic', notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'metadata-backend.ftp-master.debian.org':
ensure => has_static_component('metadata.ftp-master.debian.org') ? { true => 'present', false => 'absent' },
- notify => Exec['service apache2 reload'],
- key => true,
+ notify => Exec['service apache2 reload'],
+ key => true,
}
ssl::service { 'mirror-master.debian.org' : ensure => 'ifstatic', notify => Exec['service apache2 reload'], key => true, }
ssl::service { 'onion.debian.org' : ensure => 'ifstatic', notify => Exec['service apache2 reload'], key => true, }
onion::service { 'security-team.debian.org' : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
onion::service { 'www.ports.debian.org' : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
# dn
- onion::service { 'bootstrap.debian.net' : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
+ onion::service { 'bootstrap.debian.net' : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
onion::service { 'debaday.debian.net' : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
onion::service { 'debdeltas.debian.net' : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
onion::service { 'micronews.debian.org' : ensure => 'ifstatic', port => 80, target_port => 80, target_address => $onion_addr }
file { '/srv/static.debian.org/puppet':
ensure => directory,
- mode => '02755'
+ mode => '2755'
}
file { '/srv/static.debian.org/puppet/disabled-service':
ensure => directory,
- mode => '02755'
+ mode => '2755'
}
file { '/srv/static.debian.org/puppet/disabled-service/503.html':
source => 'puppet:///modules/roles/static-htdocs/disabled-service/503.html',