~moon127/charms/trusty/ceilometer/add-execd-preinstall

« back to all changes in this revision

Viewing changes to hooks/ceilometer_hooks.py

  • Committer: James Page
  • Date: 2013-10-17 14:45:08 UTC
  • Revision ID: james.page@canonical.com-20131017144508-hjopc0mrgrdj1am6
Add config changed hook

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        ceilometer_joined()
72
72
 
73
73
 
 
74
@hooks.hook('config-changed')
 
75
def config_changed():
 
76
    install()
 
77
    all_changed()
 
78
 
 
79
 
74
80
@hooks.hook("identity-service-relation-joined")
75
81
def keystone_joined():
76
82
    url = "http://{}:{}".format(unit_get("private-address"),