]> git.openstreetmap.org Git - chef.git/blob - roles/ridgeback.rb
Fix php requires and reapply nominatim role to dulcy
[chef.git] / roles / ridgeback.rb
1 name "ridgeback"
2 description "Master role applied to ridgeback"
3
4 default_attributes(
5   :munin => {
6     :plugins => {
7       :ipmi_fans => {
8         :Fan4 => { :graph => "no", :warning => "0:" },
9         :Fan5 => { :graph => "no", :warning => "0:" },
10         :Fan6 => { :graph => "no", :warning => "0:" },
11         :Fan7CPU1 => { :graph => "no", :warning => "0:" }
12       },
13       :smart_sda => {
14         :smartctl_exit_status => {
15           :warning => 8
16         }
17       },
18       :smart_sdb => {
19         :smartctl_exit_status => {
20           :warning => 8
21         }
22       }
23     }
24   },
25   :networking => {
26     :interfaces => {
27       :external_ipv4 => {
28         :interface => "eth0",
29         :role => :external,
30         :family => :inet,
31         :address => "31.169.50.10",
32         :prefix => "30",
33         :gateway => "31.169.50.9"
34       }
35     }
36   },
37   :sysfs => {
38     :md_tune => {
39       :comment => "Tune the md sync performance so as not to kill system performance",
40       :parameters => {
41         "block/md0/md/sync_speed_min" => "1",
42         "block/md0/md/sync_speed_max" => "100000",
43         "block/md1/md/sync_speed_min" => "1",
44         "block/md1/md/sync_speed_max" => "100000"
45       }
46     }
47   },
48   :squid => {
49     :cache_mem => "5500 MB",
50     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
51   },
52   :tilecache => {
53     :tile_parent => "oslo.render.openstreetmap.org",
54     :tile_siblings => [
55       "trogdor.openstreetmap.org",
56       "katie.openstreetmap.org",
57       "konqi.openstreetmap.org",
58       "nepomuk.openstreetmap.org",
59       "gorynych.openstreetmap.org",
60       "simurgh.openstreetmap.org"
61     ]
62   }
63 )
64
65 run_list(
66   "role[blix-no]",
67   "role[geodns]",
68   "role[tilecache]"
69 )