Notify apache for ironic api in wsgi

If ironic is in apache wsgi we must make sure
its notified on service refreshes.

Change-Id: I8f72f360c36f36acea3616fd1b09946ba5ba20c5
This commit is contained in:
Tobias Urdin 2018-07-17 18:43:57 +02:00
parent 2ad9190159
commit 3f905ff7a5
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ class ironic::api (
enable => false,
tag => 'ironic-service',
}
Service <| title == 'httpd' |> { tag +> 'ironic-service' }
# we need to make sure ironic-api/eventlet is stopped before trying to start apache
Service['ironic-api'] -> Service[$service_name]