199
201
@hooks.hook('identity-service-relation-changed')
200
202
def identity_changed(relation_id=None, remote_unit=None):
201
204
if eligible_leader(CLUSTER_RES):
202
205
add_service_to_keystone(relation_id, remote_unit)
205
222
# Each unit needs to set the db information otherwise if the unit
206
223
# with the info dies the settings die with it Bug# 1355848