puppet: Only restart supervisor when the config file has been updated

(imported from commit ad318e2d7a1350235a62585a45a6b3673d783393)
This commit is contained in:
Zev Benjamin
2013-05-30 11:05:49 -04:00
parent 4cd194ec6a
commit 1004178fe1

View File

@@ -64,7 +64,7 @@ class humbug::app_frontend {
exec {"humbug-server": exec {"humbug-server":
command => "/etc/init.d/supervisor restart", command => "/etc/init.d/supervisor restart",
require => [File["/etc/supervisor/conf.d/humbug.conf"], require => File["/var/log/humbug"],
File["/var/log/humbug"],] subscribe => File["/etc/supervisor/conf.d/humbug.conf"],
} }
} }