]> git.openstreetmap.org Git - chef.git/blob - roles/ridley.rb
Track mediawiki versions for the language extension bundle
[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   :networking => {
10     :interfaces => {
11       :external_ipv4 => {
12         :interface => "eth0.2800",
13         :role => :external,
14         :family => :inet,
15         :address => "193.60.236.19"
16       },
17       :internal_ipv4 => {
18         :interface => "eth0.2801",
19         :role => :internal,
20         :family => :inet,
21         :address => "10.0.0.3"
22       }
23     }
24   },
25   :openvpn => {
26     :address => "10.0.16.1",
27     :tunnels => {
28       :ic2ucl => {
29         :port => "1194",
30         :mode => "client",
31         :peer => {
32           :host => "ironbelly.openstreetmap.org",
33           :port => "1194"
34         }
35       },
36       :shenron2ucl => {
37         :port => "1195",
38         :mode => "client",
39         :peer => {
40           :host => "shenron.openstreetmap.org",
41           :port => "1194"
42         }
43       },
44       :ucl2bm => {
45         :port => "1196",
46         :mode => "client",
47         :peer => {
48           :host => "grisu.openstreetmap.org",
49           :port => "1196"
50         }
51       },
52       :firefishy => {
53         :port => "1197",
54         :mode => "client",
55         :peer => {
56           :host => "home.firefishy.com",
57           :port => "1194",
58           :address => "10.0.16.201"
59         }
60       }
61     }
62   }
63 )
64
65 run_list(
66   "role[ucl]",
67   "role[hp-dl360-g6]",
68   "role[gateway]",
69   "role[foundation]",
70   "role[stateofthemap]",
71   "role[switch2osm]",
72   "role[blog]",
73   "role[otrs]",
74   "role[donate]",
75   "recipe[hot]",
76   "recipe[dhcpd]",
77   "recipe[openvpn]"
78 )