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

« back to all changes in this revision

Viewing changes to hooks/neutron_api_hooks.py

  • Committer: David Ames
  • Date: 2015-12-17 15:36:42 UTC
  • mfrom: (158.1.1 trunk)
  • Revision ID: david.ames@canonical.com-20151217153642-7pgimtlj74r75a5w
[jamespage, r=thedac] Ensure that apt_update calls are made with fatal=True to detect and source configuration problems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
 
170
170
    add_source(config('extra-source'), config('extra-key'))
171
171
    status_set('maintenance', 'Installing apt packages')
172
 
    apt_update()
 
172
    apt_update(fatal=True)
173
173
    packages = determine_packages(config('openstack-origin'))
174
174
    apt_install(packages, fatal=True)
175
175