From f5731b744d524df6764da972ae4ae4c7e08d34c6 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 3 Sep 2025 23:49:33 +0900 Subject: [PATCH] Ubuntu: Fix missing barbican-service tag with httpd The tag is required so that httpd is restarted when barbican.conf is modified. Change-Id: I1fb768f8130c0113a48d553ab8224d8097f7fc7c Signed-off-by: Takashi Kajinami (cherry picked from commit 5d9b18cef3abf67f41cf0f48f88daea05690b311) --- manifests/api.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/api.pp b/manifests/api.pp index 576248f4..0a80c68d 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -482,13 +482,13 @@ Use the parameters of the barbican class.") enable => false, tag => 'barbican-service', } - Service <| title == 'httpd' |> { tag +> 'barbican-service' } # we need to make sure barbican-api is stopped before trying to start apache Service['barbican-api'] -> Service[$service_name] } + Service <| title == 'httpd' |> { tag +> 'barbican-service' } # On any paste-api.ini config change, we must restart Barbican API. Barbican_api_paste_ini<||> ~> Service[$service_name]