diff --git a/hooks/leader-settings-changed b/hooks/leader-settings-changed new file mode 120000 index 00000000..f6702415 --- /dev/null +++ b/hooks/leader-settings-changed @@ -0,0 +1 @@ +nova_cc_hooks.py \ No newline at end of file diff --git a/hooks/nova_cc_hooks.py b/hooks/nova_cc_hooks.py index e7086f4b..6d07f63d 100755 --- a/hooks/nova_cc_hooks.py +++ b/hooks/nova_cc_hooks.py @@ -611,7 +611,8 @@ def cluster_joined(relation_id=None): @hooks.hook('cluster-relation-changed', - 'cluster-relation-departed') + 'cluster-relation-departed', + 'leader-settings-changed') @service_guard(guard_map(), CONFIGS, active=config('service-guard')) @restart_on_change(restart_map(), stopstart=True)