]> git.openstreetmap.org Git - chef.git/blob - roles/ridley.rb
Disable warnings for disconnnected fans on Tyan S7010 machines
[chef.git] / roles / ridley.rb
1 name "ridley"
2 description "Master role applied to ridley"
3
4 default_attributes(
5   :dhcpd =>{
6     :first_address => "10.0.15.1",
7     :last_address => "10.0.15.254"
8   },
9   :exim => {
10     :aliases => {
11       :root => "grant"
12     }
13   },
14   :munin => {
15     :graphs => {
16       :apcpdu_ucl => {
17         :title => "Current for UCL",
18         :vlabel => "Amps",
19         :category => "Ups",
20         :values => {
21           :load => {
22             :sum => [ "apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load" ],
23             :label => "Load"
24           }
25         }
26       }
27     }
28   },
29   :networking => {
30     :interfaces => {
31       :external_ipv4 => {
32         :interface => "eth0",
33         :role => :external,
34         :family => :inet,
35         :address => "128.40.45.205"
36       },
37       :internal_ipv4 => {
38         :interface => "eth1",
39         :role => :internal,
40         :family => :inet,
41         :address => "10.0.0.3"
42       },
43     }
44   },
45   :openvpn => {
46     :address => "10.0.16.1",
47     :tunnels => {
48       :ic2ucl => {
49         :port => "1194",
50         :mode => "client",
51         :peer => {
52           :host => "ironbelly.openstreetmap.org",
53           :port => "1194"
54         }
55       },
56       :shenron2ucl => {
57         :port => "1195",
58         :mode => "client",
59         :peer => {
60           :host => "shenron.openstreetmap.org",
61           :port => "1194"
62         }
63       },
64       :firefishy => {
65         :port => "1196",
66         :mode => "client",
67         :peer => {
68           :host => "home.firefishy.com",
69           :port => "1194",
70           :address => "10.0.16.201"
71         }
72       }
73     }
74   }
75 )
76
77 run_list(
78   "role[ucl-wolfson]",
79   "role[gateway]",
80   "role[foundation]",
81   "role[stateofthemap]",
82   "role[switch2osm]",
83   "role[blog]",
84   "role[otrs]",
85   "role[thinkup]",
86   "recipe[dhcpd]",
87   "recipe[openvpn]"
88 )