]> git.openstreetmap.org Git - chef.git/blob - roles/ucl-wates.rb
Ignore bogus ipmi_temp warnings on G6 machines
[chef.git] / roles / ucl-wates.rb
1 name "ucl-wates"
2 description "Role applied to all servers at UCL which are in Wates House"
3
4 default_attributes(
5   :networking => {
6     :roles => {
7       :internal => {
8         :inet => {
9           :prefix => "20",
10           :gateway => "10.0.0.3"
11         }
12       },
13       :external => {
14         :zone => "ucl",
15         :inet => {
16           :prefix => "24",
17           :gateway => "128.40.168.126"
18         }
19       }
20     }
21   },
22   :sysctl => {
23     :sack => {
24       :comment => "Disable SACK as the UCL firewall breaks it",
25       :parameters => { 
26         "net.ipv4.tcp_sack" => "0"
27       }
28     }
29   }
30 )
31
32 override_attributes(
33   :networking => {
34     :nameservers => [ "10.0.0.3", "8.8.8.8", "8.8.4.4" ],
35     :search => [ "ucl.openstreetmap.org", "openstreetmap.org" ]
36   }
37 )
38
39 run_list(
40   "role[ucl]"
41 )