From 884edfe8e51dafebea55846cb3f642bb7abe70c4 Mon Sep 17 00:00:00 2001 From: James Page Date: Fri, 13 Mar 2015 11:51:30 +0000 Subject: [PATCH] Enable leader-settings-changed --- hooks/leader-settings-changed | 1 + hooks/nova_cc_hooks.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 hooks/leader-settings-changed 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)