Misc tidy post major changes

Restore setting of flag 'configured' once vault has had an initial
configuration set.

Drop @when_not('configured') as we always want to rewrite the
vault configuration file - but we only restart it when its changed
now!

Drop handlers for etcd states - really not needed as configuration
is not longer guarded with @when_not('configured').

Add missing patch for service enable call in configure function.

Change-Id: Ia335c3a711cf371c42483ae86980b256a07ad21d
This commit is contained in:
James Page
2018-04-26 17:15:43 +01:00
parent cb5c24366c
commit 34714a92ae
2 changed files with 2 additions and 22 deletions

View File

@@ -58,6 +58,7 @@ class TestHandlers(unit_tests.test_utils.CharmTestCase):
'open_port',
'service_restart',
'service_running',
'service',
'set_state',
'status_set',
'remove_state',