From: Peter Palfrader Date: Sat, 28 Jan 2017 18:21:56 +0000 (+0100) Subject: and install template X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c40805dcbb72536f80e64e92d38338533b17d515;p=mirror%2Fdsa-puppet.git and install template --- diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index 6bac92497..9508e3a14 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -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'),