Merge "Notify not only aodh-api service but also apache"
This commit is contained in:
commit
25ee1863a7
|
@ -124,7 +124,9 @@ release. aodh::wsgi::apache supports setting a port.')
|
||||||
}
|
}
|
||||||
|
|
||||||
# we need to make sure aodh-api/eventlet is stopped before trying to start apache
|
# we need to make sure aodh-api/eventlet is stopped before trying to start apache
|
||||||
Service['aodh-api'] -> Service[$service_name]
|
Service['aodh-api'] -> Service[$::apache::params::service_name]
|
||||||
|
# the apache service is untagged so add it to the service section manually
|
||||||
|
Anchor['aodh::service::begin'] ~> Service[$::apache::params::service_name]
|
||||||
} else {
|
} else {
|
||||||
fail("Invalid service_name. Either aodh/openstack-aodh-api for running \
|
fail("Invalid service_name. Either aodh/openstack-aodh-api for running \
|
||||||
as a standalone service, or httpd for being run by a httpd server")
|
as a standalone service, or httpd for being run by a httpd server")
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Deal with API being run using Apache when restarting the API (e.g. due to
|
||||||
|
configuration changes)
|
Loading…
Reference in New Issue