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