help text for juju set-config needs improving
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Reed O'Brien |
Bug Description
e.g.:
Usage: juju set-config [options] <service name> <service key>=<value> ...
Summary:
Sets configuration options for a service.
Options:
--config (= )
Path to YAML service configuration file
-m, --model (= "")
Model to operate in
--to-default (= false)
Set service option values to default
Details:
Charms may, and frequently do, expose a number of configuration settings for a service to the user. These can be set at deploy time, but may be set at any time by using the `juju set-config` command. The actual options vary per charm (you can check the charm documentation, or use `juju get-config` to check which options may be set).
If ‘value’ begins with the ‘@’ character, it is interpreted as a filename and the actual value is read from it. The maximum size of the filename is is 5M.
Values may be any UTF-8 encoded string. UTF-8 is accepted on the command line and in referenced files.
See `juju status` for service names.
Examples:
juju set-config mysql dataset-size=80% backup_
juju set-config apache2 --model mymodel --config /home/ubuntu/
See also: get-config
deploy
status
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.0-beta4 |
description: | updated |
description: | updated |
Changed in juju-core: | |
milestone: | 2.0-beta4 → 2.0-rc1 |
Changed in juju-core: | |
assignee: | nobody → Reed O'Brien (reedobrien) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta5 → none |
milestone: | none → 2.0-beta5 |
PR: https:/ /github. com/juju/ juju/pull/ 5120 reviews. vapour. ws/r/4559/
RB: http://