]> git.openstreetmap.org Git - chef.git/blob - roles/fume.rb
Increase smart warning threshold for SSDs on gorynych
[chef.git] / roles / fume.rb
1 name "fume"
2 description "Master role applied to fume"
3
4 default_attributes(
5   :munin => {
6     :plugins => {
7       :df => {
8         :_dev_cciss_c0d1p1 => { :warning => ":95" }
9       }
10     }
11   },
12   :networking => {
13     :interfaces => {
14       :external_ipv4 => {
15         :interface => "eth0",
16         :role => :external,
17         :family => :inet,
18         :address => "85.30.190.241",
19         :prefix => "29",
20         :gateway => "85.30.190.246"
21       },
22       :external_ipv6 => {
23         :interface => "eth0",
24         :role => :external,
25         :family => :inet6,
26         :address => "2a02:80:0:3ff8:222:64ff:fe2a:2714",
27         :prefix => "64"
28       }
29     }
30   },
31   :squid => {
32     :cache_mem => "16000 MB",
33     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
34   },
35   :sysfs => {
36     :hdd_tune => {
37       :comment => "Tune the queue for improved performance",
38       :parameters => {
39         "block/cciss\!c0d0/queue/nr_requests" => "512",
40         "block/cciss\!c0d1/queue/nr_requests" => "512",
41         "block/cciss\!c0d0/queue/scheduler" => "noop",
42         "block/cciss\!c0d1/queue/scheduler" => "noop"
43       }
44     }
45   },
46   :tilecache => {
47     :tile_parent => "sjobo.render.openstreetmap.org",
48     :tile_siblings => [
49       "trogdor.openstreetmap.org",
50       "ridgeback.openstreetmap.org",
51       "katie.openstreetmap.org",
52       "konqi.openstreetmap.org",
53       "gorynych.openstreetmap.org",
54       "nepomuk.openstreetmap.org"
55     ]
56   }
57 )
58
59 run_list(
60   "role[teleservice]",
61   "role[tilecache]"
62 )