X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3e88a23285c07bccef5eac66d6bbd3c2aa47c1f8..eb15b15aae4c6f83fcc917214d33458052ae248a:/test/integration/otrs-debian/inspec/apache_spec.rb?ds=sidebyside diff --git a/test/integration/otrs-debian/inspec/apache_spec.rb b/test/integration/otrs-debian/inspec/apache_spec.rb new file mode 100644 index 000000000..8006330b4 --- /dev/null +++ b/test/integration/otrs-debian/inspec/apache_spec.rb @@ -0,0 +1,18 @@ +describe package("apache2") do + it { should be_installed } +end + +describe service("apache2") do + it { should be_enabled } + it { should be_running } +end + +describe port(80) do + it { should be_listening } + its("protocols") { should cmp "tcp" } +end + +describe port(443) do + it { should be_listening } + its("protocols") { should cmp "tcp" } +end