]> git.openstreetmap.org Git - chef.git/blob - roles/ridgeback.rb
Rework civicrm using wordpress instead of drupal
[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   :tilecache => {
33     :tile_parent => "oslo.render.openstreetmap.org",
34     :tile_siblings => [
35       "fume.openstreetmap.org",
36       "trogdor.openstreetmap.org",
37       "tabaluga.openstreetmap.org",
38       "nepomuk.openstreetmap.org"
39     ]
40   },
41   :munin => {
42     :plugins => {
43       :smart_sda => {
44         :smartctl_exit_status => {
45           :warning => 8
46         }
47       },
48       :smart_sdb => {
49         :smartctl_exit_status => {
50           :warning => 8
51         }
52       }
53     }
54   }
55 )
56
57 run_list(
58   "role[blix-no]",
59   "role[tilecache]"
60 )