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