Notify apache for nova placement

If you are running a node with only placement
and not the api at all (under apache) we must
make sure to notify the apache service to refresh
on nova::service::begin anchor refreshes otherwise
the placement service will never be refreshed.

Change-Id: I34462faa4b318030d74a43dfbd8b861c47a12b22
This commit is contained in:
Tobias Urdin
2018-07-17 18:36:31 +02:00
parent d80e6ed5c0
commit 94b0a640da

View File

@@ -150,6 +150,9 @@ class nova::wsgi::apache_placement (
-> File[$::nova::params::placement_httpd_config_file]
~> Service['httpd']
# notify apache on service refreshes
Anchor['nova::service::begin'] ~> Service['httpd']
::openstacklib::wsgi::apache { 'placement_wsgi':
bind_host => $bind_host,
bind_port => $api_port,