]> git.openstreetmap.org Git - chef.git/blob - roles/ridley.rb
Update carto stylesheet to v4.22.0
[chef.git] / roles / ridley.rb
1 name "ridley"
2 description "Master role applied to ridley"
3
4 default_attributes(
5   :bind => {
6     :clients => "ucl"
7   },
8   :dhcpd => {
9     :first_address => "10.0.15.1",
10     :last_address => "10.0.15.254"
11   },
12   :networking => {
13     :interfaces => {
14       :external_ipv4 => {
15         :interface => "eth0.2800",
16         :role => :external,
17         :family => :inet,
18         :address => "193.60.236.19"
19       },
20       :internal_ipv4 => {
21         :interface => "eth0.2801",
22         :role => :internal,
23         :family => :inet,
24         :address => "10.0.0.3"
25       }
26     }
27   },
28   :openvpn => {
29     :address => "10.0.16.1",
30     :tunnels => {
31       :ic2ucl => {
32         :port => "1194",
33         :mode => "client",
34         :peer => {
35           :host => "ironbelly.openstreetmap.org",
36           :port => "1194"
37         }
38       },
39       :shenron2ucl => {
40         :port => "1195",
41         :mode => "client",
42         :peer => {
43           :host => "shenron.openstreetmap.org",
44           :port => "1194"
45         }
46       },
47       :ucl2bm => {
48         :port => "1196",
49         :mode => "client",
50         :peer => {
51           :host => "grisu.openstreetmap.org",
52           :port => "1196"
53         }
54       },
55       :firefishy => {
56         :port => "1197",
57         :mode => "client",
58         :peer => {
59           :host => "home.firefishy.com",
60           :port => "1194",
61           :address => "10.0.16.201"
62         }
63       }
64     }
65   }
66 )
67
68 run_list(
69   "role[ucl]",
70   "role[hp-dl360-g6]",
71   "role[gateway]",
72   "role[foundation]",
73   "role[stateofthemap]",
74   "role[switch2osm]",
75   "role[blog]",
76   "role[otrs]",
77   "role[donate]",
78   "recipe[hot]",
79   "recipe[dmca]",
80   "recipe[dhcpd]",
81   "recipe[openvpn]"
82 )