Avoid restarting server on every deploy in puppet configuration.

(imported from commit 0e40f19ac5d81a2016fedf42d851f270eea07e28)
This commit is contained in:
Tim Abbott 2013-06-06 11:01:17 -04:00
parent 871e1b65d3
commit 7f8e5324af
1 changed files with 3 additions and 2 deletions

View File

@ -76,8 +76,9 @@ class humbug::app_frontend {
# TODO: I think we need to restart memcached after deploying this # TODO: I think we need to restart memcached after deploying this
exec {"humbug-server": # Supervisor is what actually runs the app
command => "/etc/init.d/supervisor restart", service { "supervisor":
ensure => running,
require => File["/var/log/humbug"], require => File["/var/log/humbug"],
subscribe => File["/etc/supervisor/conf.d/humbug.conf"], subscribe => File["/etc/supervisor/conf.d/humbug.conf"],
} }