From 48a9ace870d595c19dff60d496b1c040d03fbaed Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 11 Sep 2023 12:26:38 +0900 Subject: [PATCH] Do not restart services after policy file changes The oslo.policy library has implementations to detect change in policy rules and reload the new rules without service restart. Change-Id: I1355983024146ddc22128f6affcd67b2036b4848 --- manifests/deps.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/deps.pp b/manifests/deps.pp index 4b29910..2aa4dce 100644 --- a/manifests/deps.pp +++ b/manifests/deps.pp @@ -42,7 +42,7 @@ class cloudkitty::deps { # policy config should occur in the config block also. Anchor['cloudkitty::config::begin'] -> Openstacklib::Policy<| tag == 'cloudkitty' |> - ~> Anchor['cloudkitty::config::end'] + -> Anchor['cloudkitty::config::end'] # On any uwsgi config change, we must restart Cloudkitty API. Anchor['cloudkitty::config::begin']