charm-keystone-ldap/unit_tests
Billy Olsen 186069de6a Add guard state around configure_domain_name()
This change adds a guard state around the configure_domain_name()
function so that it only gets called ONCE when the relation connects.

This is to prevent restarting keystone everytime the update-status
hook runs on this charm.

Note: this change also includes the rebuild change from commit 9427ccf
and the subsequent patch to this patchset which fixes a hook error on
removing a backend relation. All cherry-picks are referenced below.

Change-Id: I85d14ddb97e78be966f0cc8dbbcea312599d7327
Depends-On: I44d3d5ec0c930a9cde80200bb1e5eb4dfae58d02
Closes-Bug: #1698343
(cherry picked from commit 2ba3850521)
(cherry picked from commit 317e55074d)
(cherry picked from commit 92f0fb511d)
2017-08-11 16:21:48 -07:00
..
__init__.py Fix unit/amulet tests in stable branch 2017-08-11 16:17:41 -07:00
test_keystone_ldap_handlers.py Add guard state around configure_domain_name() 2017-08-11 16:21:48 -07:00
test_lib_charm_openstack_keystone_ldap.py Add guard state around configure_domain_name() 2017-08-11 16:21:48 -07:00