]> git.openstreetmap.org Git - chef.git/blob - roles/shenron.rb
Ensure wikibase uses the correct repository URL
[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   :networking => {
23     :dnssec => "false",
24     :interfaces => {
25       :external => {
26         :interface => "eth0",
27         :role => :external,
28         :inet => {
29           :address => "212.110.172.32",
30           :prefix => "26",
31           :gateway => "212.110.172.1"
32         },
33         :inet6 => {
34           :address => "2001:41c9:1:400::32",
35           :prefix => "64",
36           :gateway => "fe80::1"
37         }
38       }
39     }
40   },
41   :prometheus => {
42     :metrics => {
43       :exim_queue_limit => { :metric => 250 }
44     }
45   }
46 )
47
48 run_list(
49   "role[bytemark]",
50   "role[lists]",
51   "role[osqa]"
52 )