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
This commit is contained in:
Paul Van Eck 2015-11-10 11:55:46 -08:00
parent 70b1bfc9b5
commit d7e080c730
1 changed files with 1 additions and 0 deletions

View File

@ -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.