From 552aed40f6b02e57e9bc6f560e84f767c535d3b4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 23 Sep 2016 20:36:54 +0000 Subject: [PATCH] reload apache2 on pinset change --- modules/apache2/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index d8a5e4f8d..a3db477e5 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -168,12 +168,12 @@ class apache2 { group => root, mode => '0644', require => Package['apache2'], + notify => Exec['service apache2 reload'], } concat::fragment { 'puppet-ssl-key-pins-header': target => '/etc/apache2/conf-available/puppet-ssl-key-pins.conf', content => '', order => 00, - notify => Exec['service apache2 reload'], } apache2::config { 'puppet-ssl-key-pins': nocontentok => true, -- 2.20.1