@when('ceph-storage.available')
def ceph_state_control(ceph_admin):
    ' Determine if we should remove the state that controls the re-render\n    and execution of the ceph-relation-changed event because there\n    are changes in the relationship data, and we should re-render any\n    configs, keys, and/or service pre-reqs '
    ceph_relation_data = {'mon_hosts': ceph_admin.mon_hosts(), 'fsid': ceph_admin.fsid(), 'auth_supported': ceph_admin.auth(), 'hostname': socket.gethostname(), 'key': ceph_admin.key()}
    if data_changed('ceph-config', ceph_relation_data):
        remove_state('ceph-storage.configured')
Determine if we should remove the state that controls the re-render
and execution of the ceph-relation-changed event because there
are changes in the relationship data, and we should re-render any
configs, keys, and/or service pre-reqs
@when('ceph-storage.available')
def ceph_state_control(ceph_admin):
    ' Determine if we should remove the state that controls the re-render\n    and execution of the ceph-relation-changed event because there\n    are changes in the relationship data, and we should re-render any\n    configs, keys, and/or service pre-reqs '
    ceph_relation_data = {'mon_hosts': ceph_admin.mon_hosts(), 'fsid': ceph_admin.fsid(), 'auth_supported': ceph_admin.auth(), 'hostname': socket.gethostname(), 'key': ceph_admin.key()}
    if data_changed('ceph-config', ceph_relation_data):
        remove_state('ceph-storage.configured')