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
This commit is contained in:
@@ -42,7 +42,7 @@ class cloudkitty::deps {
|
|||||||
# policy config should occur in the config block also.
|
# policy config should occur in the config block also.
|
||||||
Anchor['cloudkitty::config::begin']
|
Anchor['cloudkitty::config::begin']
|
||||||
-> Openstacklib::Policy<| tag == 'cloudkitty' |>
|
-> Openstacklib::Policy<| tag == 'cloudkitty' |>
|
||||||
~> Anchor['cloudkitty::config::end']
|
-> Anchor['cloudkitty::config::end']
|
||||||
|
|
||||||
# On any uwsgi config change, we must restart Cloudkitty API.
|
# On any uwsgi config change, we must restart Cloudkitty API.
|
||||||
Anchor['cloudkitty::config::begin']
|
Anchor['cloudkitty::config::begin']
|
||||||
|
|||||||
Reference in New Issue
Block a user