We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc32672 commit 6534a2fCopy full SHA for 6534a2f
2 files changed
test/integration/default/controls/config.rb
@@ -0,0 +1,9 @@
1
+title 'Verify haproxy configuration'
2
+
3
+describe file('/etc/haproxy/haproxy.cfg') do
4
+ it { should be_file }
5
+ its('owner') { should eq 'root' }
6
+ its('group') { should eq 'root' }
7
+ its('mode') { should cmp '0644' }
8
+end
9
test/integration/default/controls/service.rb
+title 'Verify haproxy service'
+describe service('haproxy') do
+ it { should be_installed }
+ it { should be_enabled }
+ it { should be_running }
0 commit comments