From ce8d41488f74defd9c55dbdedc58538ab8c4b4e7 Mon Sep 17 00:00:00 2001 From: Sergii Golovatiuk Date: Wed, 20 Apr 2016 13:41:07 +0200 Subject: [PATCH] Move notification from File to Concat Up to 2.0.0 concat was done as a define which contains File. This change moves notification from File resource (which was generated by concat) to concat itself. Any changes in fragments will cause Concat resource to notify service which is logically the same as sending notification from generated File resource. This patch is compatible with concat 1.2.0 and 2.1.0 Change-Id: I1f46861f42bf0aea7f9c0a581ebf3d68cc6bd662 --- manifests/wsgi/apache.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index 083c391c..ead85617 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -169,7 +169,7 @@ class horizon::wsgi::apache ( } Package['horizon'] -> Package['httpd'] - File[$::horizon::params::config_file] ~> Service['httpd'] + Concat[$::horizon::params::config_file] ~> Service['httpd'] $unix_user = $::osfamily ? { 'RedHat' => $::horizon::params::apache_user,