]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/apache2/manifests/backports_mirror.pp
(www) Add redirections for some old Refresh hacks
[dsa-puppet.git] / modules / apache2 / manifests / backports_mirror.pp
1 class apache2::backports_mirror {
2     include apache2
3     file {
4         "/etc/apache2/sites-available/backports.debian.org":
5             source  => [ "puppet:///modules/apache2/per-host/$fqdn/etc/apache2/sites-available/backports.debian.org",
6                          "puppet:///modules/apache2/common/etc/apache2/sites-available/backports.debian.org" ];
7         "/etc/apache2/sites-available/www.backports.org":
8             source  => [ "puppet:///modules/apache2/per-host/$fqdn/etc/apache2/sites-available/www.backports.org",
9                          "puppet:///modules/apache2/common/etc/apache2/sites-available/www.backports.org" ];
10
11     }
12
13     activate_apache_site {
14         "010-backports.debian.org": site => "backports.debian.org";
15         "010-www.backports.org": site => "www.backports.org";
16     }
17
18     enable_module {
19         "rewrite":;
20     }
21 }
22
23 # vim:set et:
24 # vim:set sts=4 ts=4:
25 # vim:set shiftwidth=4: