From d7e080c730ddcf1c7a710420245b3f4a42e5b4ba Mon Sep 17 00:00:00 2001 From: Paul Van Eck Date: Tue, 10 Nov 2015 11:55:46 -0800 Subject: [PATCH] Refresh apache on api changes Currently apache is only restarted when UI code is changed and not when only API/python code is changed in the RefStack repository. This patch will notify apache to restart when the API is updated. Change-Id: Ie3111a3c2b9ee7dd514cf048871e9c820f545bb1 --- manifests/api.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/api.pp b/manifests/api.pp index 6a4a036..5667ff2 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -82,6 +82,7 @@ class refstack::api () { refreshonly => true, require => Vcsrepo[$src_api_root], subscribe => Vcsrepo[$src_api_root], + notify => Service['httpd'], } # Migrate the database.