]> git.openstreetmap.org Git - chef.git/blob - roles/wiki.rb
Drop user.apis.dev.openstreetmap.org
[chef.git] / roles / wiki.rb
1 name "wiki"
2 description "Role applied to all wiki servers"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :wiki => { :status => :role }
8     }
9   },
10   :exim => {
11     :trusted_users => [ "www-data" ],
12     :aliases => {
13       :root => "grant"
14     }
15   },
16   :memcached => {
17     :memory_limit => 512,
18     :connection_limit => 8192,
19     :chunk_growth_factor => 1.05,
20     :min_item_size => 5
21   },
22   :apache => {
23     :mpm => "prefork",
24     :timeout => 30,
25     :event => {
26       :server_limit => 32,
27       :max_clients => 800,
28       :threads_per_child => 50,
29       :max_requests_per_child => 10000
30     }
31   }
32 )
33
34 run_list(
35   "recipe[wiki]"
36 )