From a0354b1a7143da1849f020d819fe18658ab25ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Fit=C3=B3?= Date: Fri, 3 Jul 2015 13:43:00 +0200 Subject: [PATCH] Notify consul-template service about changes on source ctmpl --- manifests/watch.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/watch.pp b/manifests/watch.pp index 106ded2..b6926bb 100644 --- a/manifests/watch.pp +++ b/manifests/watch.pp @@ -21,5 +21,6 @@ target => 'consul-template/config.json', content => "template {\n source = \"${consul_template::config_dir}/${name}.ctmpl\"\n destination = \"${destination}\"\n command = \"${command}\"\n}\n\n", order => '10', + notify => Service['consul-template'] } }