Add missing hooks.

This commit is contained in:
Adam Gandelman 2013-02-27 18:16:13 -08:00
parent 82d784b79e
commit 7eb35f5736
2 changed files with 3 additions and 2 deletions

View File

@ -187,7 +187,6 @@ def ceph_changed():
else:
utils.juju_log('INFO',
'This is not the peer leader. Not configuring RBD.')
# Stopping MySQL
if utils.running('rabbitmq-server'):
utils.juju_log('INFO','Stopping rabbitmq-server.')
utils.stop('rabbitmq-server')
@ -209,6 +208,8 @@ hooks = {
'cluster-relation-changed': cluster_changed,
'ha-relation-joined': ha_joined,
'ha-relation-changed': ha_changed,
'ceph-relation-joined': ceph_joined,
'ceph-relation-changed': ceph_changed,
}
utils.do_hooks(hooks)

View File

@ -1 +1 @@
60
65