- name: bind
run_list:
- recipe[bind::default]
+ - name: forum
+ run_list:
+ - recipe[accounts::default]
+ - role[forum]
- name: munin
run_list:
- recipe[munin::default]
--- /dev/null
+{
+ "id": "forum",
+ "uid": "522",
+ "comment": "Forum",
+ "manage_home": false
+}
--- /dev/null
+{
+ "id": "passwords",
+ "database": "database-password",
+ "cookie_seed": "cookie-seed"
+}
--- /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 }
+end
+
+describe port(443) do
+ it { should be_listening }
+end
--- /dev/null
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("mysql-server") do
+ it { should be_installed }
+end
+
+describe service("mysql") do
+ it { should be_enabled }
+ it { should be_running }
+end
+
+describe port(3306) do
+ it { should be_listening }
+end