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 want to install some dependencies on a machine after it created. Have a type of secondary charm, who I could install these dependencies, even if these dependencies do not have a charm in Charm Store?

share|improve this question
I'm confused by this, could you elaborate a little more. Why not have the dependencies installed by the charm in the first place? – Marco Ceppi Feb 5 '13 at 15:32
There are dependencies that have charm and others not. What's the best way I install them? Secondary charm would be a kind of "child-charm" of the main charm. this is a bit confusing, but it was one of the suggested actions. – tiagoortiz Feb 5 '13 at 15:48
Suggested where, by whom? This is still unclear. – Eliah Kagan Feb 5 '13 at 17:08
up vote 3 down vote accepted

Juju has a concept of "Subordinate Charms" where you can deploy charms on top of existing deployed services. One such example of this is the Nagios/NRPE charm. Where you deploy the nrpe charm on existing services and relate it to a regular Nagios charm. NRPE sits on top of whatever service it's deployed on and monitors the machine. In this case you can create a subordinate charm to deploy additional services on top of a regular charm.

However, if the charm you're deploying requires these dependencies to work properly it is probably better to fork the charm, add your modifications, then deploy from your forked version.

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.