X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b40c940172b533edb3023198d4c8d7f47ddc061b..25a26001fe25c80fc14bffc6a4600246c996fa85:/test/integration/stateofhemap-wordpress/serverspec/apache_spec.rb diff --git a/test/integration/stateofhemap-wordpress/serverspec/apache_spec.rb b/test/integration/stateofhemap-wordpress/serverspec/apache_spec.rb new file mode 100644 index 000000000..446d3b915 --- /dev/null +++ b/test/integration/stateofhemap-wordpress/serverspec/apache_spec.rb @@ -0,0 +1,21 @@ +require "serverspec" + +# Required by serverspec +set :backend, :exec + +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.with("tcp") } +end + +describe port(443) do + it { should be_listening.with("tcp") } +end