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