From 6b2ea4462e157d1365ef3ea8904b9b2f8d5af2ce 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 --- manifests/init.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/init.pp b/manifests/init.pp index a00b9f2..3f63d2e 100644 --- a/manifests/init.pp +++ b/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'], }