Merge lp:~lazypower/charms/trusty/elasticsearch/20-bump into lp:charms/trusty/elasticsearch

Proposed by Charles Butler
Status: Merged
Merged at revision: 42
Proposed branch: lp:~lazypower/charms/trusty/elasticsearch/20-bump
Merge into: lp:charms/trusty/elasticsearch
Diff against target: 28 lines (+4/-1)
2 files modified
config.yaml (+1/-1)
templates/elasticsearch.yml (+3/-0)
To merge this branch: bzr merge lp:~lazypower/charms/trusty/elasticsearch/20-bump
Reviewer Review Type Date Requested Status
Chris Glass (community) Approve
Review via email: mp+288423@code.launchpad.net

Description of the change

Bump in config, and templating for ES 2.x

To post a comment you must log in.
Revision history for this message
Chris Glass (tribaal) wrote :

Looks good! +1

review: Approve
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Hey Chris, Chuck. Since we're landing the changed defaults, I've put an MP with some other changes you may be keen to see landed (these are changes that we're using in production already, but have only tested with 2.x):

https://code.launchpad.net/~michael.nelson/charms/trusty/elasticsearch/merge-elasticsearch2-branch/+merge/288721

Cheers

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 2015-11-09 16:30:42 +0000
3+++ config.yaml 2016-03-08 16:40:03 +0000
4@@ -1,7 +1,7 @@
5 options:
6 apt-repository:
7 type: string
8- default: "deb [arch=amd64] http://packages.elastic.co/elasticsearch/1.7/debian stable main"
9+ default: "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main"
10 description: |
11 A deb-line for the apt archive which contains the elasticsearch package.
12 This is necessary until elasticsearch gets into the debian/ubuntu archives.
13
14=== modified file 'templates/elasticsearch.yml'
15--- templates/elasticsearch.yml 2014-10-29 00:57:26 +0000
16+++ templates/elasticsearch.yml 2016-03-08 16:40:03 +0000
17@@ -3,8 +3,11 @@
18
19 cluster.name: {{ cluster_name }}
20 http.port: 9200
21+network.host: ["_site_", "_local_"]
22 discovery.zen.ping.multicast.enabled: false
23 discovery.zen.ping.unicast.hosts:
24 {% for reln in relations.peer %}
25 - {{ reln['private-address'] }}
26 {% endfor %}
27+# workaround for Kibana4 Export Everything bug https://github.com/elastic/kibana/issues/5524
28+index.max_result_window: 2147483647

Subscribers

People subscribed via source and target branches