]> git.openstreetmap.org Git - chef.git/blob - roles/scorch.rb
Drop roles for thorn-02 and thorn-03
[chef.git] / roles / scorch.rb
1 name "scorch"
2 description "Master role applied to scorch"
3
4 default_attributes(
5   :devices => {
6     :ssd_system => {
7       :comment => "Tune scheduler for system disk",
8       :type => "block",
9       :bus => "scsi",
10       :serial => "3600605b009bbf5601fc3206407a43546",
11       :attrs => {
12         "queue/scheduler" => "noop",
13         "queue/nr_requests" => "256",
14         "queue/read_ahead_kb" => "2048"
15       }
16     }
17   },
18   :networking => {
19     :interfaces => {
20       :external_ipv4 => {
21         :interface => "eth0",
22         :role => :external,
23         :family => :inet,
24         :address => "176.31.235.79",
25         :prefix => "24",
26         :gateway => "176.31.235.254"
27       },
28       :external_ipv6 => {
29         :interface => "eth0",
30         :role => :external,
31         :family => :inet6,
32         :address => "2001:41d0:2:fc4f::1",
33         :prefix => "64",
34         :gateway => "2001:41d0:2:fcff:ff:ff:ff:ff"
35       }
36     }
37   }
38 )
39
40 run_list(
41   "role[ovh]"
42 )