]> git.openstreetmap.org Git - chef.git/blob - roles/scorch.rb
wordpress: add additional required packages
[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 => {
21         :interface => "eth0",
22         :role => :external,
23         :inet => {
24           :address => "176.31.235.79",
25           :prefix => "24",
26           :gateway => "176.31.235.254"
27         },
28         :inet6 => {
29           :address => "2001:41d0:2:fc4f::1",
30           :prefix => "64",
31           :gateway => "2001:41d0:2:fcff:ff:ff:ff:ff"
32         }
33       }
34     }
35   }
36 )
37
38 run_list(
39   "role[ovh]"
40 )