Commit graph

1091 commits

Author SHA1 Message Date
Julien Mailleret
7f5be969e0
skip java install on 7.x (java embeded in 7.x version) (#568) 2019-05-29 17:51:02 +02:00
Julien Mailleret
a879b74def
[xpack] use elasticsearch default xpack features (#560)
- Stop forcing es_xpack_features variable in order to let elasticsearch install default features described in http://localhost:9200/_xpack
- Change xpack test scope to be able to test default xpack install
  - xpack scenario will test xpack install with default features
  - xpack upgrade scenario will fully test security feature
  - oss-to-xpack-upgrade will test installing only other specific features
- Cleanup some duplicate serverspec tests
- Remove `system_key`feature (deprecated in 5.6 and removed in 6.0 - [Breaking Changes 6.0.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-6.0.0-xes.html))
- Cleanup some ansible code (especially in `when` conditions)
2019-05-29 12:10:11 +02:00
Julien Mailleret
5e99299637
Merge pull request #567 from elastic/remove-deprecated-scripting
remove file script feature
2019-05-28 09:37:42 +02:00
Julien Mailleret
1585ec2c1c
remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed)
2019-05-27 18:16:50 +02:00
Julien Mailleret
86c8e3c59b
Merge pull request #562 from hamishforbes/patch-1
Configurable instance_suffix
2019-05-21 11:16:03 -04:00
Julien Mailleret
62eb010a5c
Merge branch 'master' into patch-1 2019-05-21 04:43:24 -04:00
Julien Mailleret
e420d482cc
[kitchen] update gem dependencies (#564)
this should fix an issue with busser install in kitchen testing containers (related to https://github.com/test-kitchen/test-kitchen/pull/1536)
2019-05-17 23:02:46 -04:00
Hamish Forbes
d00bd5f3f1
Configurable instance_suffix 2019-05-15 14:14:02 +01:00
Julien Mailleret
a016ff6e10
Merge pull request #559 from elastic/template-install
[templates] simplify template install task
2019-05-10 11:00:53 +02:00
Julien Mailleret
a677218fa8
[templates] simplify template install task 2019-05-09 19:39:09 +02:00
Julien Mailleret
a1c81884e2
[7.x] add support for elasticsearch 7.x and remove support for 5.x (#558)
- add support for elasticsearch 7.x
- remove support for elasticsearch 5.x
- update kitchen-ansible configuration (install ansible and jmespath dependencies using os repositories)
- replace geoip plugin in tests as this one is now embeded in elasticsearch since 6.7.0 (cf. https://www.elastic.co/guide/en/elasticsearch/plugins/6.7/ingest-geoip.html)
- update discovery configuration for 7.x (in ES 7.x, discovery.zen.ping.unicast.hosts is replaced by discovery.seed_hosts and transport.tcp.port is replaced by transport.port, also discovery.seed_hosts is disabled on master nodes to avoid "master_not_discovered_exception" error when creating templates in the same play)
- update index template structure for 7.x 
- update security realms settings for 7.x (cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#include-realm-type-in-setting)
2019-05-09 09:06:02 +02:00
Michael Russell
adba13bcd8
Merge pull request #550 from pemontto/master
Fix template conditional
2019-05-02 16:56:25 +02:00
Julien Mailleret
940922f774
Merge pull request #543 from victorgs/patch-1
Typo in Makefile
2019-05-02 16:42:26 +02:00
Michael Russell
73314dd6e8
Merge branch 'master' into master 2019-05-02 16:23:49 +02:00
Julien Mailleret
4014778f3d
Merge branch 'master' into patch-1 2019-04-30 13:54:14 +02:00
Julien Mailleret
f32758d24a
Merge pull request #557 from elastic/fix-dependencies-cve
[gem] update dependencies
2019-04-30 13:53:38 +02:00
Julien Mailleret
6204d7dc3f
Merge branch 'master' into patch-1 2019-04-30 12:38:09 +02:00
Julien Mailleret
2d96084251
[gem] update dependencies
This should fix vulnerability on ffi and rubyzip dependencies (cf. https://nvd.nist.gov/vuln/detail/CVE-2018-1000544 and https://nvd.nist.gov/vuln/detail/CVE-2018-1000201)
2019-04-30 12:34:41 +02:00
Julien Mailleret
07287ebecd
[test] fix debian-8 provisioning in kitchen tests (#556)
Jessie backport repos have been removed from debian mirrors and moved to archive mirrors (cf. https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html). We also need to disable validity checks as this repo is no more updated (https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository)
2019-04-29 11:07:59 +02:00
Nathan Young
07258e5be5 Fix template conditional 2019-03-29 09:16:01 +11:00
Michael Russell
f051e80d0c
Merge pull request #546 from thiagonache/master
Fixes first example syntax in README
2019-03-22 20:41:07 +10:00
Chris Koehnke
18c9332419 Remove url in jenkins job configuration 2019-03-21 17:16:04 -04:00
Michael Russell
7ef5021d01
Merge pull request #529 from branen/es_repo_base
Template out the base of repo URLs
2019-03-20 18:40:38 +10:00
Michael Russell
4a6f05bb13
Merge pull request #542 from grzegorznowak/check-mode-tweaks-v2
add a few more 'check_mode:no' props for compatiblity with --check
2019-03-20 18:36:35 +10:00
Thiago Nache Carvalho
88d283e216
Fixes first example syntax in README 2019-03-19 15:41:09 -03:00
branen
4ea8e34599
Merge branch 'master' into es_repo_base 2019-03-19 13:58:07 -04:00
Michael Russell
0bff06436f
Merge pull request #545 from elastic/add-jbb-defs
[ci] add JJBB job definitions
2019-03-19 22:38:55 +10:00
Jonah Bull
0858b11b85
[ci] add JJBB job definitions
Add JJBB job definitions to the repo so they can be managed here.

Modified jobs so they will auto-generate the `inject-passwords` section
containing `VAULT_ROLE_ID`, `VAULT_SECRET_ID` and `VAULT_ADDR`.
2019-03-18 14:46:14 -05:00
Victor Gonzalez
739f50fc7b
Typo in Makefile
s/cerify/verify/g
2019-03-15 21:39:24 +01:00
branen
598fd2fcf5
Merge branch 'master' into es_repo_base 2019-03-15 11:00:17 -04:00
Grzegorz Nowak
785ce1cd26 add a few more 'check_mode:no' props for compatiblity with --check mode of ansible 2019-03-14 09:24:06 +01:00
Michael Russell
6d9caa7a9b
Merge pull request #541 from elastic/pinny_pin_pin
Update readme to include versioned install command
2019-03-13 23:03:20 +10:00
DJ Gill
33b72f1b60
Merge branch 'master' into pinny_pin_pin 2019-03-12 09:58:06 -07:00
Branen Salmon
59de0102a8
Merge branch 'master' into es_repo_base 2019-03-12 09:56:36 -04:00
Michael Russell
8aa1aa1ebf
Merge pull request #523 from SlothOfAnarchy/filter-deprecation-fix
Refactor deprecated version_compare filter calls
2019-03-11 22:26:37 +09:00
Michael Russell
453115019d
Merge pull request #535 from lde/master
Use sleep command in remplacement of pause
2019-03-11 22:18:04 +09:00
lde
c5beecf0b2
Merge branch 'master' into master 2019-03-11 14:14:55 +01:00
Michel Weitbrecht
0c5a6b7a81
Merge branch 'master' into filter-deprecation-fix 2019-03-11 14:12:57 +01:00
Michael Russell
81f30e7972
Update readme to include versioned install command
In #538 it was discovered that recent versions of the ansible galaxy
command will fail if there aren't semver compatible releases in the
history.

The error says:

> Please contact the role author to resolve versioning conflicts, or
> specify an explicit role version to install.

Removing the old releases is not such a great idea so instead updating
the install command is the best option.

Fixes: #538
2019-03-11 23:07:01 +10:00
Michael Russell
509a91878f
Merge pull request #539 from grzegorznowak/compatibility-with-check-mode
make playbook (tested for debians) compatible with the  mode
2019-03-11 22:05:19 +09:00
Michael Russell
b040c4562e
Merge branch 'master' into filter-deprecation-fix 2019-03-11 21:49:16 +09:00
Grzegorz Nowak
c4b51482c1 make playbook (tested for debians) compatible with the mode 2019-02-28 14:33:53 +01:00
Lilian Deloche
eed3efbb85 Use sleep command in remplacement of pause 2019-02-07 12:24:16 +01:00
branen
0b0ee6f299
Merge branch 'master' into es_repo_base 2019-02-06 12:40:00 -05:00
Michael Russell
0ccf60831e
Merge pull request #531 from elastic/sixtysix
Bump default version to 6.6.0
2019-01-30 10:42:36 +01:00
Michael Russell
f169a434d8
Bump default version to 6.6.0 2019-01-29 17:13:59 +01:00
Michael Russell
5858a5b6ce
Merge pull request #530 from lde/master
Use dpkg_selections to lock elasticsearch version
2019-01-25 16:03:17 +01:00
Lilian Deloche
2d7bc5607e Use dpkg_selections to lock elasticsearch version 2019-01-24 15:30:49 +01:00
Michael Russell
e4ce1b2c57
Merge pull request #528 from Fra-nk/Systemd_Mount_Requirements
Use systemd's RequiresMountsFor
2019-01-24 12:32:34 +01:00
Frank Fischer
fd8ea77fa4 Use systemd's RequiresMountsFor
User might be interested in separating data
in ephemeral and persistent state, especially
in cloud environments, e.g. data_dir on
another disk.
2019-01-17 16:22:42 +01:00