]> git.openstreetmap.org Git - chef.git/blob - roles/trogdor.rb
Update piwik to 4.6.1
[chef.git] / roles / trogdor.rb
1 name "trogdor"
2 description "Master role applied to trogdor"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "eth0",
9         :role => :external,
10         :family => :inet,
11         :address => "134.90.146.26",
12         :prefix => "30",
13         :gateway => "134.90.146.25"
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" => "1",
22         "block/md0/md/sync_speed_max" => "100000",
23         "block/md1/md/sync_speed_min" => "1",
24         "block/md1/md/sync_speed_max" => "100000"
25       }
26     }
27   }
28 )
29
30 run_list(
31   "role[blix-nl]"
32 )