~frankban/juju-quickstart/check-locale

Viewing all changes in revision 56.

  • Committer: Francesco Banconi
  • Date: 2014-03-11 16:15:21 UTC
  • mfrom: (55.1.2 version-handling)
  • Revision ID: francesco.banconi@canonical.com-20140311161521-4rqrpuv5ko9k0iof
Improve version handling.

Modify the app.ensure_dependencies function 
so that it returns the Juju version tuple.
This way we allow for reusing the version 
through the app and we can avoid calling 
"juju version" multiple times.

Support local environments by installing
the juju-local meta-package in place of 
specific packages (e.g. lxc, mongo). 
This way we don't have to update quickstart
if core devs introduce new local env
dependencies.

Fix the destroy-environment message displayed
at the end of the process. The -e flag is
included when an old Juju is used.

Tests: `make check`.

QA: no strictly required.
Use .venv/bin/python juju-quickstart, check everything
works well, check the destroy-environment message
at the end of the process.

R=rharding, matthew.scott
CC=
https://codereview.appspot.com/74010044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: