Correct handling of map in template

This commit is contained in:
Dale McDiarmid 2015-11-25 15:28:09 +00:00
parent d34d5e6103
commit d25fc792b6
19 changed files with 116 additions and 447 deletions

View file

@ -6,7 +6,7 @@ context "basic tests" do
it { should exist }
end
describe service('elasticsearch') do
describe service('node1_elasticsearch') do
it { should be_running }
end
@ -14,9 +14,15 @@ context "basic tests" do
it { should be_installed }
end
describe file('/etc/elasticsearch/elasticsearch/elasticsearch.yml') do
describe file('/etc/elasticsearch/node1/elasticsearch.yml') do
it { should be_file }
end
describe 'Node listening' do
it 'listening in port 9200' do
expect(port 9200).to be_listening
end
end
end