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:
parent
2eda063687
commit
a1d70f868c
@ -50,6 +50,7 @@ class elastic_recheck (
|
|||||||
cwd => '/opt/elastic-recheck',
|
cwd => '/opt/elastic-recheck',
|
||||||
path => '/bin:/usr/bin',
|
path => '/bin:/usr/bin',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
notify => Service['elastic-recheck'],
|
||||||
subscribe => Vcsrepo['/opt/elastic-recheck'],
|
subscribe => Vcsrepo['/opt/elastic-recheck'],
|
||||||
require => Class['pip'],
|
require => Class['pip'],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user