From ee6e80eef0b7e56de6a5fc8ecbfe02740d94eb4b Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 11 Sep 2023 12:36:58 +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: I990a24499bba2ad06aac20e5786c4acca4a2392e --- manifests/deps.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/deps.pp b/manifests/deps.pp index 95e8a597..f1c2aa22 100644 --- a/manifests/deps.pp +++ b/manifests/deps.pp @@ -40,7 +40,7 @@ class gnocchi::deps { # policy config should occur in the config block also. Anchor['gnocchi::config::begin'] -> Openstacklib::Policy<| tag == 'gnocchi' |> - ~> Anchor['gnocchi::config::end'] + -> Anchor['gnocchi::config::end'] # On any uwsgi config change, we must restart gnocchi-api. Anchor['gnocchi::config::begin']