~ionutbalutoiu/charms/trusty/neutron-api/next

« back to all changes in this revision

Viewing changes to hooks/neutron_api_hooks.py

  • Committer: Corey Bryant
  • Date: 2015-09-29 21:02:47 UTC
  • mfrom: (142.3.2 trunk)
  • Revision ID: corey.bryant@canonical.com-20150929210247-6hf8e3h0vhfzql6l
[thedac,r=corey.bryant] Add support for action managed upgrades

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
    if git_install_requested():
186
186
        if config_value_changed('openstack-origin-git'):
187
187
            git_install(config('openstack-origin-git'))
188
 
    else:
 
188
    elif not config('action-managed-upgrade'):
189
189
        if openstack_upgrade_available('neutron-common'):
190
190
            do_openstack_upgrade(CONFIGS)
191
191