]> git.openstreetmap.org Git - chef.git/blob - roles/necrosan.rb
Drop roles for thorn-02 and thorn-03
[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_ipv4 => {
8         :interface => "bond0",
9         :mtu => 9000,
10         :role => :external,
11         :family => :inet,
12         :address => "45.85.134.91",
13         :prefix => "31",
14         :gateway => "45.85.134.90",
15         :bond => {
16           :slaves => %w[eno1 eno2],
17           :mode => "802.3ad",
18           :lacprate => "fast"
19         }
20       },
21       :external_ipv6 => {
22         :interface => "bond0",
23         :role => :external,
24         :family => :inet6,
25         :address => "2a05:46c0:100:1004:ffff:ffff:ffff:ffff",
26         :prefix => "64",
27         :gateway => "2a05:46c0:100:1004::"
28       }
29     }
30   },
31   :sysfs => {
32     :hdd_tune => {
33       :comment => "Tune the queue for improved performance",
34       :parameters => {
35         "block/sda/queue/nr_requests" => "975",
36         "block/sdb/queue/rotational" => "0"
37       }
38     }
39   }
40 )
41
42 run_list(
43   "role[appliwave]"
44 )