Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to test a charm but it had configuration options and I wasn't aware of them. Short of browsing the charm itself how can I see what config options a charm has?

share|improve this question
up vote 3 down vote accepted

juju get and then the charm name will tell you what config options it has and what the current value is, if any.

jorge@lowgirl:~/src/oneiric$ juju get statusnet
charm: local:oneiric/statusnet-1
service: statusnet
        description: The email address of the administrator (cannot be changed)
        type: string
        value: -Not set-
        description: The nickname for the administrator (cannot be changed)
        type: string
        value: -Not set-
        description: The password for the administrator
        type: string
        value: -Not set-
        description: The name of the site
        type: string
        value: Untitled

juju set will then pass along the config, like so:

juju set statusnet email="" nickname="jorge" password="whatever"

Each command has corresponding documentation:

  • juju get --help
  • juju set --help
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.