File given to deploy --config is incompatible with pyjuju
Bug #1121907 reported by
William Reade
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
William Reade |
Bug Description
The yaml file given to deploy --config <file.yaml> that pyjuju expects needs to have a key with the service name, while the one given to juju-core must not have such a key. For example, the landscape-client charm config:
pyjuju:
"""
landscape-client:
url: https:/
"""
gojuju:
"""
url: https:/
"""
Related branches
lp://staging/~fwereade/juju-core/config-5-state-service-config-yaml
- Juju Engineering: Pending requested
-
Diff: 340 lines (+105/-53)7 files modifiedcmd/juju/config_test.go (+6/-7)
juju/conn_test.go (+9/-3)
state/apiserver/client_test.go (+5/-7)
state/apiserver/perm_test.go (+2/-2)
state/service.go (+40/-27)
state/service_test.go (+19/-5)
state/statecmd/deploy_test.go (+24/-2)
tags: | added: cmdline |
Changed in juju-core: | |
importance: | Undecided → High |
Changed in juju-core: | |
assignee: | nobody → William Reade (fwereade) |
summary: |
- deploy --config + File given to deploy --config is incompatible with pyjuju |
description: | updated |
Changed in juju-core: | |
status: | New → In Progress |
Changed in juju-core: | |
milestone: | none → 1.11.1 |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The --config parameter is in the deploy documentation (juju deploy -h), but doesn't work.