diff --git a/.kitchen.yml b/.kitchen.yml index 44d127f..4092d17 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -17,6 +17,9 @@ provisioner: ignore_extensions_from_root: [".git",".idea",".kitchen.yml"] ignore_paths_from_root: [".git",".idea",".kitchen"] +transport: + max_ssh_sessions: 6 + platforms: - name: ubuntu-14.04 driver_config: diff --git a/tasks/xpack/security/elasticsearch-xpack-activation.yml b/tasks/xpack/security/elasticsearch-xpack-activation.yml index 4b1fd3f..c1f401b 100644 --- a/tasks/xpack/security/elasticsearch-xpack-activation.yml +++ b/tasks/xpack/security/elasticsearch-xpack-activation.yml @@ -3,7 +3,7 @@ - name: Activate ES license (without security authentication) uri: method: PUT - url: "http://{{es_api_host}}:{{es_api_port}}/_license?acknowledge=true" + url: "http://{{es_api_host}}:{{es_api_port}}/_xpack/license?acknowledge=true" body_format: json body: "{{ es_xpack_license }}" return_content: yes @@ -18,7 +18,7 @@ - name: Activate ES license (with security authentication) uri: method: PUT - url: "http://{{es_api_host}}:{{es_api_port}}/_license?acknowledge=true" + url: "http://{{es_api_host}}:{{es_api_port}}/_xpack/license?acknowledge=true" user: "{{es_api_basic_auth_username}}" password: "{{es_api_basic_auth_password}}" body_format: json @@ -34,4 +34,4 @@ license_activated.json.license_status != 'valid' - debug: - msg: "License: {{ license_activated.content }}" + msg: "License: {{ license_activated }}" diff --git a/test/integration/helpers/serverspec/xpack_spec.rb b/test/integration/helpers/serverspec/xpack_spec.rb index 08a7cac..4687a66 100644 --- a/test/integration/helpers/serverspec/xpack_spec.rb +++ b/test/integration/helpers/serverspec/xpack_spec.rb @@ -137,11 +137,11 @@ shared_examples 'xpack::init' do |es_version,plugins| #Test native roles and users are loaded - describe command('curl -s localhost:9200/_xpack/security/user -u es_admin:changeMeAgain | md5sum | grep 74bcc9f9534b253c1204e264df21496c') do + describe command('curl -s localhost:9200/_xpack/security/user -u es_admin:changeMeAgain | md5sum | grep b6a1293c343e745a508c74778c9be8bb') do its(:exit_status) { should eq 0 } end - describe command('curl -s localhost:9200/_xpack/security/role -u es_admin:changeMeAgain | md5sum | grep 2bf3ffbb9cabf26bb25de6334c4da323') do + describe command('curl -s localhost:9200/_xpack/security/role -u es_admin:changeMeAgain | md5sum | grep 44b97844bd8b31d5573493a99ef62106') do its(:exit_status) { should eq 0 } end diff --git a/test/integration/xpack.yml b/test/integration/xpack.yml index b468874..6c57500 100644 --- a/test/integration/xpack.yml +++ b/test/integration/xpack.yml @@ -8,7 +8,7 @@ vars: es_heap_size: "1g" es_templates: true - es_version: "5.1.2" + es_version: "5.4.0" es_enable_xpack: true es_xpack_license: "{{ lookup('file', '/tmp/license.json') }}" es_plugins: @@ -90,7 +90,7 @@ vars: es_heap_size: "1g" es_templates: true - es_version: "5.2.2" + es_version: "5.5.1" es_enable_xpack: true es_xpack_license: "{{ lookup('file', '/tmp/license.json') }}" es_plugins: