default formula config values not available to hooks
Bug #828152 reported by
Mark Mims
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Benjamin Saller | ||
ensemble (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
When a formula with the attached config.yaml is deployed:
* without a '--config' option, the default values are not available using 'config-get'.
* with a '--config mydata.yaml' (attached) that explicitly sets only one of two configurable options, the default value for the unspecified option is not available.
Related branches
lp:~bcsaller/pyjuju/config-defaults
- Kapil Thangavelu (community): Approve
- William Reade (community): Approve
-
Diff: 259 lines (+66/-47)5 files modifiedensemble/control/deploy.py (+11/-6)
ensemble/control/tests/test_deploy.py (+28/-4)
ensemble/formula/config.py (+19/-17)
ensemble/formula/tests/repository/dummy/config.yaml (+1/-1)
ensemble/formula/tests/test_config.py (+7/-19)
Changed in ensemble: | |
milestone: | none → eureka |
importance: | Undecided → Medium |
Changed in ensemble: | |
status: | New → Fix Released |
Changed in ensemble (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → ubuntu-11.10-beta-2 |
To post a comment you must log in.
Fixed upstream.