- name: "Test Kitchen (exim)"
script:
- bundle exec kitchen test exim-ubuntu-1804
+ - name: "Test Kitchen (fail2ban)"
+ script:
+ - bundle exec kitchen test fail2ban-ubuntu-1804
- name: "Test Kitchen (forum)"
script:
- bundle exec kitchen test forum-ubuntu-1804
--- /dev/null
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("fail2ban") do
+ it { should be_installed }
+end
+
+describe service("fail2ban") do
+ it { should be_enabled }
+ it { should be_running }
+end