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 need to set some secondary config options to a service charm deployed with juju. All of the options needed are preset to empty in the original config.yaml file. Now, some of those settings are changed in a separate config file named extra-config.yaml. How does one set these file config options to the service charm with the config-changed hook triggering? Also, can the extra-config.yaml be placed outside the charms directory structure?

This command works, but the config-changed hook is not triggered -->

juju set --config precise/cool-charm/extra-config.yaml cool-charm

Note: The docs provide a --file option which is not recognized.

share|improve this question

Well, it is working as of now (6-21-12) with the current beta version of juju. One needs to issue a
juju set charm-name --config /path/to/extra-config.yaml
It is important to change the config file or add a revision field for the config-changed hook to trigger. The hook will not trigger if the extra config file was previously set and is unchanged.

share|improve this answer

this looks like a bug from what I can tell. Just filed it as

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.