diff --git a/manifests/api.pp b/manifests/api.pp index bc992d6..152a078 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -136,7 +136,9 @@ class panko::api ( tag => ['panko-service', 'panko-db-sync-service'], } Class['panko::db'] -> Service[$service_name] - Service <| title == 'httpd' |> { tag +> 'panko-db-sync-service' } + Service <| title == 'httpd' |> { + tag +> ['panko-service', 'panko-db-sync-service'] + } # we need to make sure panko-api/eventlet is stopped before trying to start apache Service['panko-api'] -> Service[$service_name] diff --git a/releasenotes/notes/restart-apache-4f14dda1daf456d4.yaml b/releasenotes/notes/restart-apache-4f14dda1daf456d4.yaml new file mode 100644 index 0000000..ca19cfb --- /dev/null +++ b/releasenotes/notes/restart-apache-4f14dda1daf456d4.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Deal with API being run using Apache when restarting the API (e.g. due to + configuration changes)