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:
Niels Boehm 2018-07-17 17:25:47 +02:00 committed by Tobias Urdin
parent 03939bd6e4
commit 2cd58b8fb0
2 changed files with 6 additions and 0 deletions

View File

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

View File

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