mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 01:24:20 +01:00
Test fix for serverspec
This commit is contained in:
@@ -76,7 +76,6 @@ context "basic tests" do
|
||||
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should contain 'LimitMEMLOCK=infinity' }
|
||||
it { should contain 'EnvironmentFile=-/etc/sysconfig/node1_elasticsearch' }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -160,13 +160,11 @@ context "basic tests" do
|
||||
describe file('/usr/lib/systemd/system/master_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should contain 'LimitMEMLOCK=infinity' }
|
||||
it { should contain 'EnvironmentFile=-/etc/sysconfig/master_elasticsearch' }
|
||||
end
|
||||
|
||||
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should_not contain 'LimitMEMLOCK=infinity' }
|
||||
it { should contain 'EnvironmentFile=-/etc/sysconfig/node1_elasticsearch' }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user