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.

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

1 Answer 1

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.