From: Peter Palfrader Date: Mon, 3 Oct 2011 08:33:27 +0000 (+0200) Subject: reload apache when www.d.o vhost config changes X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5c4079104b5b0e3cf35fef2df9d2f75e987ed8c8;p=mirror%2Fdsa-puppet.git reload apache when www.d.o vhost config changes --- diff --git a/modules/apache2/manifests/www_mirror.pp b/modules/apache2/manifests/www_mirror.pp index e0e18f67f..a446441c1 100644 --- a/modules/apache2/manifests/www_mirror.pp +++ b/modules/apache2/manifests/www_mirror.pp @@ -3,7 +3,7 @@ class apache2::www_mirror inherits apache2 { "/etc/apache2/sites-available/www.debian.org": source => [ "puppet:///modules/apache2/per-host/$fqdn/etc/apache2/sites-available/www.debian.org", "puppet:///modules/apache2/common/etc/apache2/sites-available/www.debian.org" ]; - + notify => Exec["reload-apache2"]; } activate_apache_site {