Notify not only cinder service, but also Apache
Apache needs to be notified as well in case the API is being served in that context, otherwise config changes would not take effect without manual intervention. Change-Id: If5e7c14d59843ee7c813eb1df8d7131e002dbd22
This commit is contained in:
parent
03939bd6e4
commit
2cd58b8fb0
|
@ -262,6 +262,7 @@ class cinder::api (
|
|||
enable => false,
|
||||
tag => ['cinder-service'],
|
||||
}
|
||||
Service <| title == 'httpd' |> { tag +> 'cinder-service' }
|
||||
|
||||
# we need to make sure cinder-api/eventlet is stopped before trying to start apache
|
||||
Service['cinder-api'] -> Service[$service_name]
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Notify Apache in case the API is served in that context when the API is
|
||||
supposed to be restarted, for instance due to configuration changes.
|
Loading…
Reference in New Issue