X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/45c0862be818c87ac9825ed36a7a2e9d3a1aab7c..22bf736efc9c971696fbc42a910b84c9f3895260:/test/integration/foundation-welcome/inspec/apache_spec.rb diff --git a/test/integration/foundation-welcome/inspec/apache_spec.rb b/test/integration/foundation-welcome/inspec/apache_spec.rb new file mode 100644 index 000000000..8006330b4 --- /dev/null +++ b/test/integration/foundation-welcome/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