]> git.openstreetmap.org Git - chef.git/blob - roles/gorynych.rb
Fix log regex in API statistics generator
[chef.git] / roles / gorynych.rb
1 name "gorynych"
2 description "Master role applied to gorynych"
3
4 default_attributes(
5   :munin => {
6     :plugins => {
7       :smart_sdc => {
8         :smartctl_exit_status => { :warning => ":8" }
9       },
10       :smart_sdd => {
11         :smartctl_exit_status => { :warning => ":8" }
12       }
13     }
14   },
15   :networking => {
16     :interfaces => {
17       :external_ipv4 => {
18         :interface => "eth1",
19         :role => :external,
20         :family => :inet,
21         :address => "130.193.62.73",
22         :prefix => "29",
23         :gateway => "130.193.62.78"
24       }
25     }
26   },
27   :sysfs => {
28     :md_tune => {
29       :comment => "Tune the md sync performance so as not to kill system performance",
30       :parameters => {
31         "block/md0/md/sync_speed_min" => "1",
32         "block/md0/md/sync_speed_max" => "100000"
33       }
34     }
35   },
36   :squid => {
37     :cache_mem => "5800 MB",
38     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
39   },
40   :tilecache => {
41     :tile_parent => "moscow.render.openstreetmap.org",
42     :tile_siblings => [
43       "trogdor.openstreetmap.org",
44       "fume.openstreetmap.org",
45       "katie.openstreetmap.org",
46       "konqi.openstreetmap.org",
47       "nepomuk.openstreetmap.org",
48       "ridgeback.openstreetmap.org"
49     ]
50   }
51 )
52
53 run_list(
54   "role[yandex]",
55   "role[tilecache]"
56 )