Merge lp:~gz/juju-deployer/polite_juju_install_check into lp:juju-deployer
Proposed by
Martin Packman
Status: | Merged |
---|---|
Merged at revision: | 88 |
Proposed branch: | lp:~gz/juju-deployer/polite_juju_install_check |
Merge into: | lp:juju-deployer |
Diff against target: |
38 lines (+9/-1) 2 files modified
.bzrignore (+1/-0) deployer/cli.py (+8/-1) |
To merge this branch: | bzr merge lp:~gz/juju-deployer/polite_juju_install_check |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kapil Thangavelu | Approve | ||
Review via email: mp+199428@code.launchpad.net |
Description of the change
Display a nice error if juju-deployer is run without juju installed.
A new juju-deployer user I was introducing to the tool got a python traceback on first attempt. This branch catches the executable not found exception when looking up the juju version and gives a hint to install it.
As a drive-by, also ignore the build directory created by setup.py script.
To post a comment you must log in.
Thanks looks good