Add upgrade-charm hook
This commit is contained in:
parent
06059b380f
commit
502cd9fd15
@ -42,7 +42,8 @@ def install():
|
|||||||
# ceilometer_utils.NOVA_SETTINGS)
|
# ceilometer_utils.NOVA_SETTINGS)
|
||||||
|
|
||||||
|
|
||||||
@hooks.hook("ceilometer-service-relation-changed")
|
@hooks.hook("ceilometer-service-relation-changed",
|
||||||
|
"upgrade-charm")
|
||||||
@restart_on_change(restart_map())
|
@restart_on_change(restart_map())
|
||||||
def ceilometer_changed():
|
def ceilometer_changed():
|
||||||
CONFIGS.write_all()
|
CONFIGS.write_all()
|
||||||
|
1
hooks/upgrade-charm
Symbolic link
1
hooks/upgrade-charm
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
ceilometer_hooks.py
|
Loading…
Reference in New Issue
Block a user