auto restart elastic recheck on update

this ensures we notify the er daemon to restart after we've updated
the code, making it so we deploy instantly into the environment.

Change-Id: Ifa266c7c0248ce9d0431f44e76de87958503f401
This commit is contained in:
Sean Dague 2013-10-09 13:27:49 -04:00
parent 838368798f
commit 6b2ea4462e
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class elastic_recheck (
cwd => '/opt/elastic-recheck',
path => '/bin:/usr/bin',
refreshonly => true,
notify => Service['elastic-recheck'],
subscribe => Vcsrepo['/opt/elastic-recheck'],
require => Class['pip'],
}