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
|
||||
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 {
|
||||
fail("Invalid service_name. Either aodh/openstack-aodh-api for running \
|
||||
as a standalone service, or httpd for being run by a httpd server")
|
||||
|
4
releasenotes/notes/restart-apache-4c85888a2bafbaa8.yaml
Normal file
4
releasenotes/notes/restart-apache-4c85888a2bafbaa8.yaml
Normal file
@ -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
Block a user