Shield config tests + prevent use of xpack in version < 2.0
This commit is contained in:
parent
31cc54ddbc
commit
fdf1bda155
3 changed files with 14 additions and 1 deletions
|
|
@ -160,5 +160,12 @@ shared_examples 'xpack::init' do |es_version|
|
|||
end
|
||||
|
||||
#Test contents of Elasticsearch.yml file
|
||||
describe file('/etc/elasticsearch/shield_node/elasticsearch.yml') do
|
||||
it { should contain 'shield.authc.realms.file1.order: 0' }
|
||||
it { should contain 'shield.authc.realms.file1.type: file' }
|
||||
it { should contain 'shield.authc.realms.native1.order: 1' }
|
||||
it { should contain 'shield.authc.realms.native1.type: native' }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue