Fix path config to match the node name

This commit is contained in:
Michael Russell 2018-01-31 12:07:32 +01:00
parent e5da92f895
commit b0083ae293
No known key found for this signature in database
GPG key ID: A90C1696496085FE

View file

@ -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' }