DescriptionRun juju init if environments.yaml is missing
Create environments.yaml and use local provider if environments.yaml is not found.
To test: make check
To QA:
1. mv ~/.juju/environments.yaml ~/.juju/environments.yaml.bak
2. .venv/bin/python juju-quickstart <bundle> # should run juju init and juju switch local
3. ensure deployment goes as planned, ensure ~/.juju/environments.yaml is default from init
4. mv ~/.juju/environments.yaml.bak ~/.juju/environments.yaml
https://code.launchpad.net/~makyo/juju-quickstart/create-environments/+merge/196969
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : Run juju init if environments.yaml is missing #
MessagesTotal messages: 6
|