]> git.openstreetmap.org Git - chef.git/blob - roles/ridgeback.rb
Switch amsterdam cache to use render.openstreetmap.org
[chef.git] / roles / ridgeback.rb
1 name "ridgeback"
2 description "Master role applied to ridgeback"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "eth0",
9         :role => :external,
10         :family => :inet,
11         :address => "31.169.50.10",
12         :prefix => "30",
13         :gateway => "31.169.50.9"
14       }
15     }
16   },
17   :sysfs => {
18     :md_tune => {
19       :comment => "Tune the md sync performance so as not to kill system performance",
20       :parameters => {
21         "block/md0/md/sync_speed_min" => "10",
22         "block/md0/md/sync_speed_max" => "10000",
23         "block/md1/md/sync_speed_min" => "10",
24         "block/md1/md/sync_speed_max" => "10000"
25       }
26     }
27   },
28   :squid => {
29     :cache_mem => "5500 MB",
30     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
31   }
32 )
33
34 run_list(
35   "role[blix-no]",
36   "role[tilecache]"
37 )