~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-27 18:24:05 UTC
  • Revision ID: toni@midokura.com-20160127182405-fcd4qc4hs39i8ru8
fix jinja2 installation order

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from charmhelpers import fetch  # noqa
23
23
from midonet_helpers import puppet
24
24
 
 
25
try:
 
26
    from midonet_helpers import puppet
 
27
except ImportError:
 
28
    fetch.apt_install(['python-jinja2', 'python-yaml'], fatal=True)
 
29
    from midonet_helpers import puppet
 
30
 
25
31
 
26
32
def _configure_sysctl():
27
33
    from augeas import Augeas