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