run_list:
- recipe[accounts::default]
- role[forum]
+ - name: incron
+ run_list:
+ - recipe[incron::default]
- name: letsencrypt
run_list:
- recipe[accounts::default]
- name: "Test Kitchen (forum)"
script:
- bundle exec kitchen test forum-ubuntu-1804
+ - name: "Test Kitchen (incron)"
+ script:
+ - bundle exec kitchen test incron-ubuntu-1804
- name: "Test Kitchen (letsencrypt)"
script:
- bundle exec kitchen test letsencrypt-ubuntu-1804
--- /dev/null
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("incron") do
+ it { should be_installed }
+end
+
+describe service("incron") do
+ it { should be_enabled }
+ it { should be_running }
+end