mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 01:24:20 +01:00
Fix for server spec debian 8
This commit is contained in:
@@ -73,10 +73,5 @@ context "basic tests" do
|
||||
its(:exit_status) { should eq 0 }
|
||||
end
|
||||
|
||||
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should contain 'LimitMEMLOCK=infinity' }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
@@ -156,16 +156,5 @@ context "basic tests" do
|
||||
end
|
||||
|
||||
|
||||
#Test server spec file has been created and modified
|
||||
describe file('/usr/lib/systemd/system/master_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should contain 'LimitMEMLOCK=infinity' }
|
||||
end
|
||||
|
||||
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should_not contain 'LimitMEMLOCK=infinity' }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user