- name: squid
run_list:
- recipe[squid::default]
+ - name: stateofthemap
+ run_list:
+ - recipe[stateofthemap::default]
- name: tilecache
run_list:
- recipe[tilecache::default]
- name: "Test Kitchen (squid)"
script:
- bundle exec kitchen test squid-ubuntu-1804
+ - name: "Test Kitchen (stateofthemap)"
+ script:
+ - bundle exec kitchen test stateofthemap-ubuntu-1804
- name: "Test Kitchen (tilecache)"
script:
- bundle exec kitchen test tilecache-ubuntu-1804
package %w[
ruby
ruby-dev
+ libssl-dev
zlib1g-dev
+ pkg-config
]
apache_module "expires"
--- /dev/null
+{
+ "id": "passwords",
+ "sotm2007": "sotm2007",
+ "sotm2008": "sotm2008",
+ "sotm2009": "sotm2009",
+ "sotm2010": "sotm2010",
+ "sotm2011": "sotm2011",
+ "sotm2012": "sotm2012",
+ "sotm2016": "sotm2016"
+}
--- /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