and install template
authorPeter Palfrader <peter@palfrader.org>
Sat, 28 Jan 2017 18:21:56 +0000 (19:21 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 28 Jan 2017 18:21:56 +0000 (19:21 +0100)
modules/roles/manifests/static_mirror.pp

index 6bac924..9508e3a 100644 (file)
@@ -69,6 +69,10 @@ class roles::static_mirror {
                ensure  => absent,
        }
 
+       apache2::site { '010-static-vhosts-00-manpages':
+               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'),