Skip to content
Snippets Groups Projects
Commit 6534a2ff authored by Eric Veiras Galisson's avatar Eric Veiras Galisson
Browse files

more Inspec tests

parent cc326726
No related branches found
No related tags found
No related merge requests found
title 'Verify haproxy configuration'
describe file('/etc/haproxy/haproxy.cfg') do
it { should be_file }
its('owner') { should eq 'root' }
its('group') { should eq 'root' }
its('mode') { should cmp '0644' }
end
title 'Verify haproxy service'
describe service('haproxy') do
it { should be_installed }
it { should be_enabled }
it { should be_running }
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment