]> git.openstreetmap.org Git - chef.git/blob - roles/shenron.rb
devices: enable nvme.poll_queues if supported
[chef.git] / roles / shenron.rb
1 name "shenron"
2 description "Master role applied to shenron"
3
4 default_attributes(
5   :apache => {
6     :mpm => "event",
7     :event => {
8       :min_spare_threads => 50,
9       :max_spare_threads => 150
10     }
11   },
12   :hardware => {
13     :hwmon => {
14       "platform_it87_552" => {
15         :ignore => %w[in6]
16       }
17     },
18     :modules => [
19       "it87"
20     ]
21   },
22   :prometheus => {
23     :metrics => {
24       :exim_queue_limit => { :metric => 250 }
25     }
26   }
27 )
28
29 override_attributes(
30   :networking => {
31     :dnssec => "false",
32     :interfaces => {
33       :external => {
34         :interface => "eth0",
35         :role => :external,
36         :inet => {
37           :address => "212.110.172.32",
38           :prefix => "26",
39           :gateway => "212.110.172.1"
40         },
41         :inet6 => {
42           :address => "2001:41c9:1:400::32",
43           :prefix => "64",
44           :gateway => "fe80::1"
45         }
46       }
47     }
48   }
49 )
50
51 run_list(
52   "role[bytemark]",
53   "role[lists]",
54   "role[osqa]"
55 )