help text for juju set-config needs improving

Bug #1563942 reported by Peter Matulis
6
This bug affects 1 person
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_dir=/vol1/mysql/backups
    juju set-config apache2 --model mymodel --config /home/ubuntu/mysql.yaml

See also: get-config
          deploy
          status

Tags: helpdocs
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
Revision history for this message
Reed O'Brien (reedobrien) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.