Fix path config to match the node name
This commit is contained in:
parent
e5da92f895
commit
b0083ae293
1 changed files with 2 additions and 2 deletions
|
|
@ -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' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue