]> git.openstreetmap.org Git - chef.git/blob - test/integration/foundation-owg/inspec/apache_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / foundation-owg / inspec / apache_spec.rb
1 describe package("apache2") do
2   it { should be_installed }
3 end
4
5 describe service("apache2") do
6   it { should be_enabled }
7   it { should be_running }
8 end
9
10 describe port(80) do
11   it { should be_listening }
12   its("protocols") { should cmp "tcp" }
13 end
14
15 describe port(443) do
16   it { should be_listening }
17   its("protocols") { should cmp "tcp" }
18 end