--- /dev/null
+class roles::debug_mirror {
+ $vhost_listen = $::hostname ? {
+ klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80',
+ default => '*:80',
+ }
+
+ apache2::site { '010-debug.mirrors.debian.org':
+ site => 'debug.mirrors.debian.org',
+ content => template('roles/apache-debug.mirrors.debian.org.erb'),
+ }
+}
--- /dev/null
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
+<VirtualHost 130.89.148.14:80 [2001:610:1908:b000::148:14]:80>
+<VirtualHost <%= vhost_listen %> >
+ ServerAdmin webmaster@debian.org
+ ServerName debug.mirrors.debian.org
+
+ RedirectMatch "^/$" /debian-debug/
+ Alias /debian-debug /srv/mirrors/debian-debug
+
+ ErrorLog /var/log/apache2/debug.mirrors.debian.org-error.log
+ LogLevel warn
+ CustomLog /var/log/apache2/debug.mirrors.debian.org-access.log privacy
+
+ <Directory /srv/mirrors/debian-debug>
+ Require all granted
+ IndexOptions NameWidth=* +SuppressDescription
+ Options +Indexes
+ Options +FollowSymLinks
+ </Directory>
+</VirtualHost>
+
+