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
(cherry picked from commit 2cd58b8fb0)
This commit is contained in:
Niels Boehm 2018-07-17 17:25:47 +02:00 committed by Tobias Urdin
parent cf0656b0f8
commit 10385870e4
2 changed files with 6 additions and 0 deletions

View File

@ -268,6 +268,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.