added missing cluster relations

This commit is contained in:
Edward Hope-Morley
2014-10-22 17:27:00 +01:00
parent 83c931e5c4
commit cff895677e
4 changed files with 11 additions and 0 deletions

View File

@@ -109,6 +109,14 @@ def upgrade_charm():
any_changed()
@hooks.hook('cluster-relation-joined',
'cluster-relation-changed',
'cluster-relation-departed')
@restart_on_change(restart_map(), stopstart=True)
def cluster_changed():
CONFIGS.write_all()
@hooks.hook('ha-relation-joined')
def ha_joined():
cluster_config = get_hacluster_config()

View File

@@ -0,0 +1 @@
ceilometer_hooks.py

View File

@@ -0,0 +1 @@
ceilometer_hooks.py

View File

@@ -0,0 +1 @@
ceilometer_hooks.py