Merge lp:~mthaddon/charms/trusty/logstash/expose-logstash into lp:~foli/charms/trusty/logstash/add-lumberjack-protocol

Proposed by Tom Haddon
Status: Merged
Merged at revision: 48
Proposed branch: lp:~mthaddon/charms/trusty/logstash/expose-logstash
Merge into: lp:~foli/charms/trusty/logstash/add-lumberjack-protocol
Diff against target: 12 lines (+3/-0)
1 file modified
hooks/config-changed (+3/-0)
To merge this branch: bzr merge lp:~mthaddon/charms/trusty/logstash/expose-logstash
Reviewer Review Type Date Requested Status
Michael Foley Approve
Review via email: mp+255058@code.launchpad.net

Description of the change

Expose logstash

To post a comment you must log in.
Revision history for this message
Tom Haddon (mthaddon) wrote :
Revision history for this message
Michael Foley (foli) wrote :

Thanks. +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/config-changed'
2--- hooks/config-changed 2015-03-31 23:41:37 +0000
3+++ hooks/config-changed 2015-04-02 09:37:23 +0000
4@@ -36,6 +36,9 @@
5 copy_config()
6 place_upstart_template()
7
8+ # This only actually opens the port if we've exposed the service in juju
9+ hookenv.open_port(5043)
10+
11 # The install hook is idempotent, so re-run it.
12 subprocess.check_output(shlex.split('hooks/install'))
13

Subscribers

People subscribed via source and target branches

to all changes: