From: Peter Palfrader Date: Sun, 16 Apr 2017 12:21:18 +0000 (+0200) Subject: Add a 503.html for archive.debian.net X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0e0adab173d5961a4e13fc4adae018a306f4b030;p=mirror%2Fdsa-puppet.git Add a 503.html for archive.debian.net --- diff --git a/modules/roles/files/static-htdocs/archive.debian.net/503.html b/modules/roles/files/static-htdocs/archive.debian.net/503.html new file mode 100644 index 000000000..34ffcd56b --- /dev/null +++ b/modules/roles/files/static-htdocs/archive.debian.net/503.html @@ -0,0 +1,26 @@ + + + + Welcome to archive.debian.net! + + + +

Welcome to archive.debian.net!

+ +Unfortunately, this service is not available at this time. It is not +known when its maintainer will be able to provide it again. + +

+This service is not provided by the Debian System Administration team +but instead by an individual member of the Debian project. +Please do not contact the DSA team with questions about this service. + +(If you are the maintainer of this service, pleaes do contact +the DSA team if you need help restoring the service.) + +

+


+Debian System Administration team + + + diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index ef4161dcd..0f7a2264c 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -192,4 +192,17 @@ class roles::static_mirror { onion::service { 'metadata.ftp-master.debian.org': 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 } } + + file { '/srv/static.debian.org/puppet': + ensure => directory, + mode => '02755' + } + file { '/srv/static.debian.org/archive.debian.net': + ensure => directory, + mode => '02755' + } + file { '/srv/static.debian.org/archive.debian.net/503.html': + source => 'puppet:///modules/roles/static-htdocs/archive.debian.net/503.html', + } + }