mojo should support setting options for juju services to match existing deploy phase configs
Bug #1524872 reported by
Tom Haddon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
Low
|
Unassigned |
Bug Description
Currently if you run a deploy phase against an already deployed environment, and some of the config options have changed, juju-deployer won't sync the changes for you (see bug #1200663). We should add an option to mojo to support this. This should be available as a deploy phase option, as well as a standalone phase.
As an example:
deploy config=services local=services-
Or a standalone phase:
sync-deploy-config config=services local=services-
Related branches
lp:~pjdc/mojo/update-live-config
- Tom Haddon: Approve
-
Diff: 226 lines (+142/-3)3 files modifieddocs/mojo/readme.md (+11/-0)
mojo/cli.py (+22/-1)
mojo/phase.py (+109/-2)
Changed in mojo: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in mojo: | |
status: | Confirmed → Fix Committed |
Changed in mojo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We have code to do this in mojo-comms-maas-io.
https:/ /bazaar. launchpad. net/~canonical- is/canonical- mojo-specs/ mojo-comms- maas-io/ view/head: /comms/ shared/ scripts/ update- deployed- charms- golive. py /bazaar. launchpad. net/~canonical- is/canonical- mojo-specs/ mojo-comms- maas-io/ view/head: /comms/ shared/ scripts/ lib/mojo_ helpers. py#L109
Which uses:
https:/
In case it's any help.