-
Committer:
James Page
-
Date:
2013-03-18 08:59:52 UTC
-
mfrom:
(102.1.11 mysql)
-
Revision ID:
james.page@canonical.com-20130318085952-3unxdai2pjciecsm
Rework helpers into lib subpackage and use openstack charm helpers
Renamed:
ha-relations -> ha_relations.py
shared-db-relations -> shared_db_relations.py
Made shared_db_relations use as much of lib/* as possible
Reworked ha_relations to use lib/utils.py versions of _get methods, dropped config dictionary.
PEP-8 tidied.
is_relation_made()
Added optional relation data key to check for - defaults to 'private-address'.