~negronjl/charms/precise/rabbitmq-server/lp1312281

« back to all changes in this revision

Viewing changes to README

  • Committer: Marco Ceppi
  • Date: 2014-03-25 11:14:41 UTC
  • mfrom: (50.1.3 rabbitmq-server)
  • Revision ID: marco@ceppi.net-20140325111441-ciu3esfbomx4m8bp
[dosaboy] [james-page] Add source and key options to allow use of different sources for packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
Enable SSL, passing in the key and certificate as configuration settings:
16
16
 
17
17
  juju set rabbit ssl_enabled=True ssl_key="`cat rabbit-server-privkey.pem`" ssl_cert="`cat rabbit-server-cert.pem`"
 
18
 
 
19
To change the source that the charm uses for packages:
 
20
 
 
21
  juju set rabbit source="cloud:precise-icehouse"
 
22
 
 
23
This will enable the Icehouse pocket of the Cloud Archive (which contains a new version of RabbitMQ) and upgrade the install to the new version.
 
24
 
 
25
The source option can be used in a few different ways:
 
26
 
 
27
  source="ppa:james-page/testing" - use the testing PPA owned by james-page
 
28
  source="http://myrepo/ubuntu main" - use the repository located at the provided URL
 
29
 
 
30
The charm also supports use of arbitary archive key's for use with private repositories:
 
31
 
 
32
  juju set rabbit key="C6CEA0C9"
 
33
 
 
34
Note that in clustered configurations, the upgrade can be a bit racey as the services restart and re-cluster; this is resolvable using:
 
35
 
 
36
  juju resolved --retry rabbitmq/1