Deploy should support config options
Bug #812996 reported by
Benjamin Saller
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Benjamin Saller |
Bug Description
ensemble deploy should support config options
ensemble deploy --config local.yaml <service> <service_name>
will resolve <service_name> from the dict in the passed in yaml file and use its attributes as options for the service.
Related branches
lp://staging/~bcsaller/pyjuju/config-options-deploy
- Kapil Thangavelu (community): Approve
- Gustavo Niemeyer: Approve
-
Diff: 336 lines (+180/-12)10 files modifiedensemble/control/deploy.py (+44/-5)
ensemble/control/tests/test_deploy.py (+47/-1)
ensemble/state/hook.py (+5/-6)
ensemble/state/tests/test_hook.py (+6/-0)
examples/php/config.yaml (+5/-0)
examples/php/hooks/config-changed (+14/-0)
examples/php/hooks/install (+49/-0)
examples/php/hooks/start (+1/-0)
examples/php/hooks/stop (+3/-0)
examples/php/metadata.yaml (+6/-0)
Changed in ensemble: | |
assignee: | nobody → Benjamin Saller (bcsaller) |
milestone: | none → dublin |
status: | New → In Progress |
importance: | Undecided → High |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.