Fix for server spec debian 8
This commit is contained in:
parent
6c4289b2df
commit
1034995899
4 changed files with 9 additions and 19 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue