Add update-status hook and ensure that assessment is made of status even on hooks that are not actually registered in the charm codebase
This commit is contained in:
parent
19180d451d
commit
2ba066a6df
@ -721,6 +721,6 @@ def pre_install_hooks():
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
hooks.execute(sys.argv)
|
||||
rabbit.assess_status()
|
||||
except UnregisteredHookError as e:
|
||||
log('Unknown hook {} - skipping.'.format(e))
|
||||
rabbit.assess_status()
|
||||
|
1
hooks/update-status
Symbolic link
1
hooks/update-status
Symbolic link
@ -0,0 +1 @@
|
||||
rabbitmq_server_relations.py
|
Loading…
x
Reference in New Issue
Block a user