- name: blogs
run_list:
- recipe[blogs::default]
+ - name: civicrm
+ run_list:
+ - recipe[civicrm::default]
- name: clamav
run_list:
- recipe[clamav::default]
- name: "Test Kitchen (blogs)"
script:
- bundle exec kitchen test blogs-ubuntu-1804
+ - name: "Test Kitchen (civicrm)"
+ script:
+ - bundle exec kitchen test civicrm-ubuntu-1804
- name: "Test Kitchen (clamav)"
script:
- bundle exec kitchen test clamav-ubuntu-1804
include_recipe "wordpress"
include_recipe "mysql"
-package "wkhtmltopdf"
+package %w[
+ rsync
+ unzip
+ wkhtmltopdf
+]
cache_dir = Chef::Config[:file_cache_path]
--- /dev/null
+{
+ "id": "passwords",
+ "database": "database-password",
+ "admin": "admin-password",
+ "key": "key",
+ "batch": "batch"
+}
--- /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