mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 09:34:20 +01:00
script fixes
This commit is contained in:
@@ -4,5 +4,4 @@
|
||||
roles:
|
||||
- { role: elasticsearch, es_config: { "discovery.zen.ping.multicast.enabled": true }, es_instance_name: "node1" }
|
||||
vars:
|
||||
es_scripts: true
|
||||
es_scripts_src: "./test/package/scripts/"
|
||||
es_scripts: true
|
||||
@@ -23,6 +23,11 @@ context "basic tests" do
|
||||
it { should be_owned_by 'elasticsearch' }
|
||||
end
|
||||
|
||||
describe file('/etc/elasticsearch/node1/scripts/calculate-score.groovy') do
|
||||
it { should be_file }
|
||||
it { should be_owned_by 'elasticsearch' }
|
||||
end
|
||||
|
||||
describe 'Node listening' do
|
||||
it 'listening in port 9200' do
|
||||
expect(port 9200).to be_listening
|
||||
|
||||
Reference in New Issue
Block a user