]> git.openstreetmap.org Git - chef.git/blob - roles/ramoth.rb
Remove wiki role from ouroboros
[chef.git] / roles / ramoth.rb
1 name "ramoth"
2 description "Master role applied to ramoth"
3
4 default_attributes(
5   :devices => {
6     :store_openstreetmap => {
7       :comment => "RAID array mounted on /store/postgresql/openstreetmap",
8       :type => "block",
9       :bus => "scsi",
10       :serial => "3600605b00599aa401c02b4f53bf5c805",
11       :attrs => {
12         "queue/scheduler" => "deadline",
13         "queue/nr_requests" => "975"
14       }
15     },
16     :store_system => {
17       :comment => "RAID array mounted on /store/postgresql/system",
18       :type => "block",
19       :bus => "scsi",
20       :serial => "3600605b0039483a017092ff8fa5a6332",
21       :attrs => {
22         "queue/scheduler" => "deadline",
23         "queue/nr_requests" => "975"
24       }
25     }
26   },
27   :hardware => {
28     :watchdog => "w83627hf_wdt"
29   },
30   :munin => {
31     :plugins => {
32       :smart_sg0_33 => {
33         :smartctl_exit_status => { :warning => ":8" }
34       },
35       :smart_sg0_34 => {
36         :smartctl_exit_status => { :warning => ":8" }
37       }
38     }
39   },
40   :networking => {
41     :interfaces => {
42       :internal_ipv4 => {
43         :interface => "bond0",
44         :role => :internal,
45         :family => :inet,
46         :address => "10.0.48.5",
47         :bond => {
48           :slaves => %w[enp7s0f0 enp7s0f1]
49         }
50       }
51     }
52   }
53 )
54
55 run_list(
56   "role[equinix]"
57 )