- name: forum
run_list:
- recipe[forum::default]
+ - name: ftp
+ run_list:
+ - recipe[ftp::default]
- name: geodns
run_list:
- recipe[geodns::default]
- name: "Test Kitchen (forum)"
script:
- bundle exec kitchen test forum-ubuntu-1804
+ - name: "Test Kitchen (ftp)"
+ script:
+ - bundle exec kitchen test ftp-ubuntu-1804
- name: "Test Kitchen (geodns)"
script:
- bundle exec kitchen test geodns-ubuntu-1804
--- /dev/null
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("vsftpd") do
+ it { should be_installed }
+end
+
+describe service("vsftpd") do
+ it { should be_enabled }
+ it { should be_running }
+end
+
+describe port(21) do
+ it { should be_listening.with("tcp6") }
+end