]> git.openstreetmap.org Git - chef.git/blobdiff - roles/wiki.rb
Add roles from the private repository
[chef.git] / roles / wiki.rb
diff --git a/roles/wiki.rb b/roles/wiki.rb
new file mode 100644 (file)
index 0000000..b1e1620
--- /dev/null
@@ -0,0 +1,28 @@
+name "wiki"
+description "Role applied to all wiki servers"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :wiki => { :status => :role }
+    }
+  },
+  :exim => {
+    :trusted_users => [ "www-data" ],
+    :aliases => {
+      :root => "grant"
+    }
+  },
+  :memcached => {
+    :tcp_port => 11000,
+    :udp_port => 11000,
+    :memory_limit => 512,
+    :connection_limit => 8192,
+    :chunk_growth_factor => 1.05,
+    :min_item_size => 5
+  }
+)
+
+run_list(
+  "recipe[mediawiki]"
+)