Merge lp:~tal-it-innovation/charms/precise/rabbitmq-server/fix-ports into lp:charms/rabbitmq-server

Proposed by Thomas Leonard
Status: Merged
Merged at revision: 36
Proposed branch: lp:~tal-it-innovation/charms/precise/rabbitmq-server/fix-ports
Merge into: lp:charms/rabbitmq-server
Diff against target: 43 lines (+4/-2)
4 files modified
config.yaml (+1/-1)
hooks/config-changed (+1/-0)
hooks/rabbitmq-relations (+1/-0)
revision (+1/-1)
To merge this branch: bzr merge lp:~tal-it-innovation/charms/precise/rabbitmq-server/fix-ports
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+135434@code.launchpad.net

Description of the change

This branch contains two fixes related to ports:

- it changes the default for the SSL port to the official port number (5671)
- it uses open-port to expose the ports, for use by clients not deployed by Juju

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'config.yaml'
2--- config.yaml 2012-09-04 14:27:11 +0000
3+++ config.yaml 2012-11-21 15:07:22 +0000
4@@ -5,7 +5,7 @@
5 description: enable SSL
6 ssl_port:
7 type: int
8- default: 5673
9+ default: 5671
10 description: SSL port
11 ssl_key:
12 type: string
13
14=== modified file 'hooks/config-changed'
15--- hooks/config-changed 2012-09-06 13:20:01 +0000
16+++ hooks/config-changed 2012-11-21 15:07:22 +0000
17@@ -39,6 +39,7 @@
18 {certfile,"$ssl_cert_file"},
19 {keyfile,"$ssl_key_file"}
20 ]},
21+ open-port `config-get ssl_port`/tcp
22 EOF
23 fi
24
25
26=== modified file 'hooks/rabbitmq-relations'
27--- hooks/rabbitmq-relations 2012-09-14 20:06:14 +0000
28+++ hooks/rabbitmq-relations 2012-11-21 15:07:22 +0000
29@@ -38,6 +38,7 @@
30 install --no-install-recommends rabbitmq-server
31 rc=$?
32 service rabbitmq-server stop
33+ open-port 5672/tcp
34 }
35
36 function amqp_changed() {
37
38=== modified file 'revision'
39--- revision 2012-09-14 20:06:14 +0000
40+++ revision 2012-11-21 15:07:22 +0000
41@@ -1,1 +1,1 @@
42-35
43+36

Subscribers

People subscribed via source and target branches