~springfield-team/charms/trusty/nova-cloud-controller/next

« back to all changes in this revision

Viewing changes to hooks/nova_cc_hooks.py

  • Committer: yolanda.robla at canonical
  • Date: 2014-03-27 11:46:44 UTC
  • mto: (56.3.37 nova-cloud-controller)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: yolanda.robla@canonical.com-20140327114644-p9b3wdukyve3sluj
added db testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
@restart_on_change(restart_map())
193
193
def postgresql_nova_db_changed():
194
194
    if 'pgsql-nova-db' not in CONFIGS.complete_contexts():
195
 
        log('pgsql-*-db relation incomplete. Peer not ready?')
 
195
        log('pgsql-nova-db relation incomplete. Peer not ready?')
196
196
        return
197
197
    CONFIGS.write(NOVA_CONF)
198
198