- name: "Test Kitchen (dhcpd)"
script:
- bundle exec kitchen test dhcpd-ubuntu-1804
+ - name: "Test Kitchen (dmca)"
+ script:
+ - bundle exec kitchen test dmca-ubuntu-1804
- name: "Test Kitchen (exim)"
script:
- bundle exec kitchen test exim-ubuntu-1804
--- /dev/null
+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