]> git.openstreetmap.org Git - chef.git/blobdiff - roles/forum.rb
Add basic forum cookbook + role and apply for clifford
[chef.git] / roles / forum.rb
diff --git a/roles/forum.rb b/roles/forum.rb
new file mode 100644 (file)
index 0000000..83abe0d
--- /dev/null
@@ -0,0 +1,25 @@
+name "forum"
+description "Role applied to all forum servers"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :lambertus => { :status => :administrator }
+    }
+  },
+  :apache => {
+    :mpm => "prefork",
+    :timeout => 60,
+    :keepalive => false,
+    :prefork => {
+      :start_servers => 20,
+      :min_spare_servers => 20,
+      :max_spare_servers => 50,
+      :max_clients => 256,
+    }
+  }
+)
+
+run_list(
+  "recipe[forum]"
+)