Move archvsync_base from FTP to debian_mirror
[mirror/dsa-puppet.git] / modules / roles / manifests / static_mirror.pp
index 6bac924..d92bd4d 100644 (file)
@@ -1,7 +1,8 @@
 class roles::static_mirror {
 
        include roles::static_source
-       include apache2::cache
+       include apache2::expires
+       include apache2::rewrite
 
        package { 'libapache2-mod-geoip': ensure => installed, }
        package { 'geoip-database': ensure => installed, }
@@ -69,6 +70,11 @@ class roles::static_mirror {
                ensure  => absent,
        }
 
+       apache2::site { '010-static-vhosts-00-manpages':
+               site   => 'static-manpages.debian.org',
+               ensure  => has_static_component('manpages.debian.org') ? { true => "present", false => "absent" },
+               content => template('roles/static-mirroring/vhost/manpages.debian.org.erb'),
+       }
        apache2::site { '010-static-vhosts-simple':
                site => 'static-vhosts-simple',
                content => template('roles/static-mirroring/vhost/static-vhosts-simple.erb'),