From a1d70f868cd7c271786fc3f8893cac26dfc1f446 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 9 Oct 2013 13:27:49 -0400 Subject: [PATCH] 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 --- modules/elastic_recheck/manifests/init.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/elastic_recheck/manifests/init.pp b/modules/elastic_recheck/manifests/init.pp index a00b9f2a5d..3f63d2e003 100644 --- a/modules/elastic_recheck/manifests/init.pp +++ b/modules/elastic_recheck/manifests/init.pp @@ -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'], }