~celebdor/charms/trusty/neutron-agents-midonet/trunk

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Antoni Segura Puimedon
  • Date: 2016-01-28 00:56:30 UTC
  • Revision ID: toni@midokura.com-20160128005630-z9ijncumfh90grxf
make amqp relation joined executable

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from charmhelpers.contrib.openstack import utils
21
21
from charmhelpers.core import hookenv
22
22
from charmhelpers import fetch  # noqa
 
23
from midonet_helpers import puppet
 
24
 
23
25
try:
24
26
    from midonet_helpers import puppet
25
27
except ImportError:
45
47
    puppet.module_install('midonet-midonet')
46
48
    hookenv.status_set('maintenance', 'Installing packages')
47
49
    fetch.apt_update()
48
 
    fetch.apt_install(['nova-api-metadata',
49
 
                       'neutron-dhcp-agent',
 
50
    fetch.apt_install(['neutron-dhcp-agent',
50
51
                       'neutron-metadata-agent',
51
52
                       'python-augeas',
52
53
                       'python-jinja2'], fatal=True)