]> git.openstreetmap.org Git - chef.git/blob - roles/necrosan.rb
Use fully resolved libeatmydata.so in ld.so.preload
[chef.git] / roles / necrosan.rb
1 name "necrosan"
2 description "Master role applied to necrosan"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external => {
8         :interface => "bond0",
9         :mtu => 9000,
10         :role => :external,
11         :inet => {
12           :address => "45.85.134.91",
13           :prefix => "31",
14           :gateway => "45.85.134.90"
15         },
16         :inet6 => {
17           :address => "2a05:46c0:100:1004:ffff:ffff:ffff:ffff",
18           :prefix => "64",
19           :gateway => "2a05:46c0:100:1004::"
20         },
21         :bond => {
22           :slaves => %w[eno1 eno2],
23           :mode => "802.3ad",
24           :lacprate => "fast"
25         }
26       }
27     }
28   },
29   :sysfs => {
30     :hdd_tune => {
31       :comment => "Tune the queue for improved performance",
32       :parameters => {
33         "block/sda/queue/nr_requests" => "975",
34         "block/sdb/queue/rotational" => "0"
35       }
36     }
37   }
38 )
39
40 run_list(
41   "role[appliwave]"
42 )