Add upgrade-charm hook

This commit is contained in:
James Page 2013-10-18 17:00:38 +01:00
parent 06059b380f
commit 502cd9fd15
2 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,8 @@ def install():
# ceilometer_utils.NOVA_SETTINGS)
@hooks.hook("ceilometer-service-relation-changed")
@hooks.hook("ceilometer-service-relation-changed",
"upgrade-charm")
@restart_on_change(restart_map())
def ceilometer_changed():
CONFIGS.write_all()

1
hooks/upgrade-charm Symbolic link
View File

@ -0,0 +1 @@
ceilometer_hooks.py