try to handle database removal

This commit is contained in:
Paul Collins 2017-06-13 14:04:44 +12:00
parent 5e72664490
commit 0b851c1dec
1 changed files with 5 additions and 0 deletions

View File

@ -116,6 +116,11 @@ def create_vault_table(pgsql):
status_set('active', 'database schema created and committed')
@when_not('db.master.available')
def database_not_ready():
remove_state('vault.schema.created')
@when('snap.installed.vault')
@when_not('vault.ssl.configured')
def configure_ssl():