--- /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 *:80>
+ ServerName backports.debian.org
+ ServerAdmin debian-admin@debian.org
+
+ ErrorLog /var/log/apache2/backports.debian.org-error.log
+ CustomLog /var/log/apache2/backports.debian.org-access.log combined
+
+ <IfModule mod_userdir.c>
+ UserDir disabled
+ </IfModule>
+
+ Alias /debian-backports /srv/mirrors/backports.debian.org/
+
+ RewriteEngine On
+ RewriteRule ^/debian-backports($|/.*) - [L]
+ RewriteRule ^/(.*) http://backports-master.debian.org/$1 [R]
+</VirtualHost>
+# vim:set syn=apache:
--- /dev/null
+class apache2::backports_mirror inherits apache2 {
+ file {
+ "/etc/apache2/sites-available/backports.debian.org":
+ source => [ "puppet:///modules/apache2/per-host/$fqdn/etc/apache2/sites-available/backports.debian.org",
+ "puppet:///modules/apache2/common/etc/apache2/sites-available/backports.debian.org" ];
+
+ }
+
+ activate_apache_site {
+ "010-backports.debian.org": site => "backports.debian.org";
+ }
+
+ enable_module {
+ "rewrite":;
+ }
+}
+
+# vim:set et:
+# vim:set sts=4 ts=4:
+# vim:set shiftwidth=4: