From 1004178fe1ea81b91af417df96dcb718f09eb171 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Thu, 30 May 2013 11:05:49 -0400 Subject: [PATCH] puppet: Only restart supervisor when the config file has been updated (imported from commit ad318e2d7a1350235a62585a45a6b3673d783393) --- servers/puppet/modules/humbug/manifests/app_frontend.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/puppet/modules/humbug/manifests/app_frontend.pp b/servers/puppet/modules/humbug/manifests/app_frontend.pp index 4494f8a5c8..23a4d43cea 100644 --- a/servers/puppet/modules/humbug/manifests/app_frontend.pp +++ b/servers/puppet/modules/humbug/manifests/app_frontend.pp @@ -64,7 +64,7 @@ class humbug::app_frontend { exec {"humbug-server": command => "/etc/init.d/supervisor restart", - require => [File["/etc/supervisor/conf.d/humbug.conf"], - File["/var/log/humbug"],] + require => File["/var/log/humbug"], + subscribe => File["/etc/supervisor/conf.d/humbug.conf"], } }