apt:
sources:
- openstreetmap
+ - name: memcached
+ run_list:
+ - recipe[munin::default]
+ - recipe[memcached::default]
- name: munin
run_list:
- recipe[munin::default]
- name: "Test Kitchen (letsencrypt)"
script:
- bundle exec kitchen test letsencrypt-ubuntu-1804
+ - name: "Test Kitchen (memcached)"
+ script:
+ - bundle exec kitchen test memcached-ubuntu-1804
- name: "Test Kitchen (munin)"
script:
- bundle exec kitchen test munin-ubuntu-1804
version "1.0.0"
supports "ubuntu"
+depends "munin"
--- /dev/null
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("memcached") do
+ it { should be_installed }
+end
+
+describe service("memcached") do
+ it { should be_enabled }
+ it { should be_running }
+end
+
+describe port(11211) do
+ it { should be_listening.with("tcp") }
+end