Commit graph

796 commits

Author SHA1 Message Date
Michael Russell
06a8c5c41b
Remove es_package_name hard coding since this is dynamically detected now 2018-06-14 15:06:24 +02:00
Michael Russell
bbc5e0603d
Abstract 6.3 changes into a separate task to reduce all of the jinja one
liner complexity

Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
2018-06-14 14:44:31 +02:00
Michael Russell
715bd8591e
Use final 6.3.0 release instead of snapshot 2018-06-13 21:34:32 +02:00
Michael Russell
e5809a3169
Create the keystore if it doesn't already exist 2018-06-13 17:33:23 +02:00
Michael Russell
10ff32d109
Install missing python SSL libraries to allow https to work with the uri
module
2018-06-13 17:32:55 +02:00
Michael Russell
c58b69f5d6
Install python-openssl into Ubuntu 14.04 otherwise SSL verification
doesn't work for the uri module
2018-06-13 11:13:22 +02:00
Michael Russell
943797d564
Don't ignore errors when uninstalling plugins 2018-06-13 11:10:25 +02:00
Michael Russell
929a860fd3
Specify that these tests are still using the oss package 2018-06-13 10:03:40 +02:00
Michael Russell
c1b83a892f
WIP: Add testing Makefile and matrix definitions 2018-06-13 09:34:28 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Michael Russell
a9f8403ffa
Add playbook and environment variable to build using snapshots 2018-06-13 08:24:42 +02:00
DJ Gill
a70d259e19
Merge pull request #445 from gekkeharry13/master
Fixes bug #326 and adds the option to configure mail
2018-05-23 00:52:48 -07:00
Jeffrey E
cf4da019d0
Fixed es_mail_config again
first check is es_mail_config is defined
2018-05-23 06:15:50 +02:00
Jeffrey E
c79fd2ef09
Readded es_action_auto_create_index
Default value is es_action_auto_create_index: true
2018-05-22 20:25:39 +02:00
DJ Gill
31ee9afad8
Merge branch 'master' into master 2018-05-22 11:15:15 -07:00
DJ Gill
e7fa4f93ec
Merge pull request #450 from Crazybus/tell_me_whats_wrong
Look at the results from the http request instead of checking the md5 hash
2018-05-17 07:54:03 -07:00
Michael Russell
917fc7fcfc
Look at the results from the http request instead of checking that the
json matches an md5 hash. This was causing flaky tests because the
order of the users in the test doing `curl -s localhost:9200/_xpack/security/user -u
es_admin:changeMeAgain` is not consistent which caused random failures.
Now if it does fail we will actually know the reason why:
```
 security users
    should have the elastic user
    should have the kibana user (FAILED - 1)
    should have the kibana_server user
    should have the logstash user
  logstash_system access check
    should be reported as version 6.2.4

Failures:

  1) Xpack Tests security users should have the kibana user
     Failure/Error: expect(result['kibana']['username']).to eq('kibana4')

       expected: "kibana4"
            got: "kibana"
```

The failure output use to look like:

```
Failures:

  1) Xpack Tests Command "curl -s localhost:9200/_xpack/security/user -u es_admin:changeMeAgain | md5sum | grep b6a1293c343e745a508c74778c9be8bb" exit_status should eq 0
     Failure/Error: its(:exit_status) { should eq 0 }

       expected: 0
            got: 1

       (compared using ==)
       /bin/sh -c curl\ -s\ localhost:9200/_xpack/security/user\ -u\ es_admin:changeMeAgain\ \|\ md5sum\ \|\ grep\ b6a1293c343e745a508c74778c9be8bb
```
2018-05-17 08:39:13 +02:00
Michael Russell
46d51ad955
Merge pull request #447 from chaintng/master
require admin role to use update-alternatives
2018-05-16 08:59:01 +02:00
Michael Russell
ffa98d276f
Merge branch 'master' into master 2018-05-14 17:03:24 +02:00
Michael Russell
0179bd1eef
Merge pull request #423 from eRadical/fix-redhat-install-elasticsearch-until-condition
Fix RedHat install - until condition was not correct
2018-05-08 11:44:43 +02:00
Jeffrey Everling
d72ce3c22b Added path repo is defined statement again 2018-05-08 07:03:09 +02:00
Jeffrey Everling
8cfa0cfd04 Merged change 2018-05-05 08:05:14 +02:00
Jeffrey E
e880cdf61f test 2018-05-05 08:04:49 +02:00
Jeffrey Everling
01fd5ceec4 Merging went wrong 2018-05-05 08:03:00 +02:00
Jeffrey Everling
9ba1082841 Commit README as well 2018-05-05 08:02:12 +02:00
Jeffrey Everling
796731721c Removing ssl configuration 2018-05-05 08:00:38 +02:00
Jeffrey Everling
ff9a64ba56 Revert "Fixed documentation commit issue"
This reverts commit a3ea8e0c84.
2018-05-05 07:56:36 +02:00
Jeffrey Everling
ba080bc3c8 Revert "SSL support optimisation"
This reverts commit 80baf268e5.
2018-05-05 07:56:16 +02:00
Jeffrey E
40e5252ff4 Added support for providing an array with indices 2018-05-05 07:54:57 +02:00
Jeffrey Everling
b1e350f004 Revert "Added support for providing an array with indices"
This reverts commit da527ec19b.
2018-05-05 07:52:08 +02:00
Jeffrey Everling
80baf268e5 SSL support optimisation 2018-05-05 07:42:08 +02:00
Jeffrey Everling
a3ea8e0c84 Fixed documentation commit issue 2018-05-03 16:58:29 +02:00
Jeffrey Everling
479119540e Sync with HEAD 2018-05-03 16:55:16 +02:00
Jeffrey Everling
cc28b6149a Added more x-pack config options 2018-05-03 16:45:04 +02:00
Jeffrey E
da527ec19b
Added support for providing an array with indices 2018-05-03 16:29:17 +02:00
Jeffrey E
96f3a87d95
Fixed documentation
Added documentation for es_action_auto_create_index and fixed the order
2018-05-03 16:27:27 +02:00
Jeffrey E
11a1e4b38a
Adjust variable name to match standard 2018-05-03 07:33:17 +02:00
Jeffrey E
4caefef961
Added es_action_auto_create_index: true 2018-05-03 07:23:24 +02:00
Jeffrey E
7640a0383a
Update elasticsearch.yml.j2 2018-05-03 06:37:50 +02:00
Gabriel Preda
d0ed1da107
* changed condition as suggested by @Crazybus 2018-05-02 11:49:25 +03:00
Gabriel PREDA
d42c12fb44
Merge branch 'master' into fix-redhat-install-elasticsearch-until-condition 2018-05-02 11:32:14 +03:00
Jeffrey E
6cf11ef2cb
Merge branch 'master' into master 2018-04-27 09:04:02 +02:00
Jeffrey Everling
7aebcaefa6 Added documentation for added features
Updated configuration template with if statements for optional features
2018-04-26 15:01:18 +02:00
Chainarong Tangsurakit
b7b0793b37
require admin role to use update-alternatives
promote `update-alternatives` command to run as admin role
2018-04-26 14:45:12 +07:00
DJ Gill
046f5c2500
Merge pull request #444 from elastic/late_nights
bump es release version
2018-04-24 10:43:29 -07:00
Jeffrey Everling
34f08130e1 Added changes to add required functionality and fix a bug 2018-04-24 12:51:03 +02:00
Dejon Gill
f67eae6eb0 bump es release version 2018-04-23 22:18:43 -07:00
Michael Russell
d1348a4ab6
Merge pull request #436 from nicladas/patch-1
Update elasticsearch-xpack.yml
2018-04-20 10:33:57 +02:00
nicladas
910deb55d8
Merge branch 'master' into patch-1 2018-04-17 21:17:12 -04:00
Michael Russell
3bdcd8fe4d
Merge pull request #438 from elastic/6.2.3
Bump default elasticsearch version to 6.2.3
2018-03-21 09:37:36 +01:00