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.

In the juju documentation on writting a charm, link a prerequisite is being in the "juju trunk." Is this a specified location in my system after having installed the juju packages, or is this a environment I create myself. ALso, What other prerequisites do I need to be aware of when I attempt to build a juju charm?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

That wording is a bit confusing. What they mean is that you should be in the the root directory of juju's source branch. So:

$ bzr branch lp:juju
$ cd juju/

This is more of an assumption than a prerequisite. It seems to me that the only reason why this is "required" in the example is so that the paths in your commands match the paths in the example commands. Like this one from the "Test run" section:

$ juju deploy --repository=examples local:oneiric/mysql
$ juju deploy --repository=examples local:oneiric/drupal

If you're not in "juju trunk" you could rewrite that as:

$ juju deploy --repository=path/to/repo local:oneiric/mysql
$ juju deploy --repository=path/to/repo local:oneiric/drupal
share|improve this answer
add comment

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.