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

Suppose I'm using the postgresql charm to deploy my databases. How can I control the version of the PostgreSQL (9.1, 9.2, 9.3, etc) that is deployed?

Thank you

share|improve this question
up vote 3 down vote accepted

The PostgreSQL charm has a configuration option for version

Assuming your PostgreSQL service is called postgresql you would run the following command after it's deployed.

juju set postgresql version=1.0

Pre-deployment you can also pass a yaml configuration file. See juju help deploy for more information.

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.