Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 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

 
discard

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.