mirror-isc => '149.20.4.15',
default => undef,
}
+ $archive_root = $::hostname ? {
+ default => '/srv/mirrors/debian-debug',
+ }
apache2::site { '010-debug.mirrors.debian.org':
site => 'debug.mirrors.debian.org',
ServerAlias *.debug.backend.mirrors.debian.org
RedirectMatch "^/$" /debian-debug/
- Alias /debian-debug /srv/mirrors/debian-debug
+ Alias /debian-debug <%= @archive_root %>
ErrorLog /var/log/apache2/debug.mirrors.debian.org-error.log
CustomLog /var/log/apache2/debug.mirrors.debian.org-access.log privacy
- Use ftp-archive /srv/mirrors/debian-debug
+ Use ftp-archive <%= @archive_root %>
<IfModule mod_userdir.c>
UserDir disabled