]> git.openstreetmap.org Git - chef.git/blob - roles/shenron.rb
Drop roles for thorn-02 and thorn-03
[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 )
23
24 override_attributes(
25   :networking => {
26     :dnssec => "false",
27     :interfaces => {
28       :external_ipv4 => {
29         :interface => "eth0",
30         :role => :external,
31         :family => :inet,
32         :address => "212.110.172.32",
33         :prefix => "26",
34         :gateway => "212.110.172.1"
35       },
36       :external_ipv6 => {
37         :interface => "eth0",
38         :role => :external,
39         :family => :inet6,
40         :address => "2001:41c9:1:400::32",
41         :prefix => "64",
42         :gateway => "fe80::1"
43       }
44     },
45     :nameservers => ["89.16.162.20", "2001:41c9:2:d6::20"],
46     :private_address => "10.0.16.100"
47   }
48 )
49
50 run_list(
51   "role[bytemark]",
52   "role[mail]",
53   "role[lists]",
54   "role[osqa]"
55 )