~jacekn/charm-elasticsearch:master

Last commit made on 2018-08-02
Get this branch:
git clone -b master https://git.launchpad.net/~jacekn/charm-elasticsearch
Only Jacek Nykis can upload to this branch. If you are Jacek Nykis please log in for upload directions.

Branch information

Name:
master
Repository:
lp:~jacekn/charm-elasticsearch

Recent commits

d8a035a... by Jacek Nykis

Get primary address using --primary-address rather than --ingress-address which requires juju >2.3. Fixes LP#1755186

aedce84... by Nobuto Murata

Use the up-to-date location for key retrieval

Reviewed-on: https://code.launchpad.net/~nobuto/elasticsearch-charm/+git/elasticsearch-charm/+merge/341290
Reviewed-by: Jason Hobbs <email address hidden>

3b147f5... by Paul Collins

Merge branch 'bug-1748433' of git+ssh://git.launchpad.net/~aym-frikha/elasticsearch-charm

7fb47b7... by Aymen Frikha

LP:#1748433
- need to specify remote temp file for new version in ANsible
- Need to change with_item syntax in newer version of ansible
- add bionic to metadata

06bd2a8... by Nobuto Murata

Leverage network spaces to determine the ingress address

ansible_default_ipv4 is empty by design when there is no default
gateway. Use a proper IP address with "client" relation.

Closes-Bug: LP: #1755186

cec8a57... by Peter Sabaini

Configure publish address, fix Bug #1763834

bc6b22c... by Nobuto Murata

Use the up-to-date location for key retrieval

Also use HTTPS as well as the apt repository.
https://www.elastic.co/guide/en/elasticsearch/reference/5.6/deb.html

Closes-Bug: LP: #1755071

f05b52c... by Kevin W Monroe

fixup amulet tests

- remove requests module and drop cargo culted check_response method
- move deployment to xenial
- wait for Ready messages to ensure deployment is ready for testing
- we only ever test elasticsearch/0; sentry that and stop passing around unit=0
- retry curl to allow for slow ES service startup
- be explicit with XGET when hitting the ES API endpoint

5bb1b64... by Kevin W Monroe

ES5 requires java8; ensure ppa is available on trusty

40c7262... by Kevin W Monroe

make dns.py compatible with ansible 1.x and 2.x

Trusty ships with ansible 1, xenial with ansible 2. The lookup
plugin format changed with ansible 2, so we need to modify dns.py
to be compatible with both versions.

Searching led me to a few examples of hybrid plugins:

http://47.95.33.19:8080/ansible_alicloud/latest/porting_guide_2.0.html#id2
https://github.com/jhaals/ansible-vault/blob/master/vault.py#L23

I'm not ansible guru, but this seemed easy enough to implement for
dns.py. I've successfully tested this change with both trusty and
xenial deployments of the elasticsearch charm.