diff --git a/test/integration/helpers/serverspec/xpack_spec.rb b/test/integration/helpers/serverspec/xpack_spec.rb index abe4203..60fe9ae 100644 --- a/test/integration/helpers/serverspec/xpack_spec.rb +++ b/test/integration/helpers/serverspec/xpack_spec.rb @@ -30,9 +30,9 @@ shared_examples 'xpack::init' do |vars| it { should contain 'node.name: localhost-security_node' } it { should contain 'cluster.name: elasticsearch' } if vars['es_major_version'] == '6.x' - it { should_not contain 'path.conf: /etc/elasticsearch/node1' } + it { should_not contain 'path.conf: /etc/elasticsearch/security_node' } else - it { should contain 'path.conf: /etc/elasticsearch/node1' } + it { should contain 'path.conf: /etc/elasticsearch/security_node' } end it { should contain 'path.data: /var/lib/elasticsearch/localhost-security_node' } it { should contain 'path.logs: /var/log/elasticsearch/localhost-security_node' } diff --git a/test/integration/helpers/serverspec/xpack_standard_spec.rb b/test/integration/helpers/serverspec/xpack_standard_spec.rb index 200c7ee..e19b284 100644 --- a/test/integration/helpers/serverspec/xpack_standard_spec.rb +++ b/test/integration/helpers/serverspec/xpack_standard_spec.rb @@ -28,9 +28,9 @@ shared_examples 'xpack_standard::init' do |vars| it { should contain 'node.name: localhost-security_node' } it { should contain 'cluster.name: elasticsearch' } if vars['es_major_version'] == '6.x' - it { should_not contain 'path.conf: /etc/elasticsearch/node1' } + it { should_not contain 'path.conf: /etc/elasticsearch/security_node' } else - it { should contain 'path.conf: /etc/elasticsearch/node1' } + it { should contain 'path.conf: /etc/elasticsearch/security_node' } end it { should contain 'path.data: /var/lib/elasticsearch/localhost-security_node' } it { should contain 'path.logs: /var/log/elasticsearch/localhost-security_node' }