From b0083ae29333fbc07282ca69877cde86f0b3170f Mon Sep 17 00:00:00 2001 From: Michael Russell Date: Wed, 31 Jan 2018 12:07:32 +0100 Subject: [PATCH] Fix path config to match the node name --- test/integration/helpers/serverspec/multi_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/helpers/serverspec/multi_spec.rb b/test/integration/helpers/serverspec/multi_spec.rb index 20b3aa8..614284c 100644 --- a/test/integration/helpers/serverspec/multi_spec.rb +++ b/test/integration/helpers/serverspec/multi_spec.rb @@ -49,9 +49,9 @@ shared_examples 'multi::init' do |vars| it { should contain 'node.name: localhost-master' } it { should contain 'bootstrap.memory_lock: true' } if vars['es_major_version'] == '6.x' - it { should_not contain 'path.conf: /etc/elasticsearch/node1' } + it { should_not contain 'path.conf: /etc/elasticsearch/master' } else - it { should contain 'path.conf: /etc/elasticsearch/node1' } + it { should contain 'path.conf: /etc/elasticsearch/master' } end it { should contain 'path.data: /opt/elasticsearch/master/localhost-master' } it { should contain 'path.logs: /var/log/elasticsearch/localhost-master' }