]> git.openstreetmap.org Git - chef.git/blob - roles/ladon.rb
Enable netplan for American tile caches
[chef.git] / roles / ladon.rb
1 name "ladon"
2 description "Master role applied to ladon"
3
4 default_attributes(
5   :networking => {
6     :netplan => true,
7     :interfaces => {
8       :external_ipv4 => {
9         :interface => "bond0",
10         :role => :external,
11         :family => :inet,
12         :address => "83.212.2.116",
13         :prefix => "29",
14         :gateway => "83.212.2.113",
15         :bond => {
16           :mode => "802.3ad",
17           :miimon => "100",
18           :xmithashpolicy => "layer3+4",
19           :slaves => %w[eth0 eth1]
20         }
21       },
22       :external_ipv6 => {
23         :interface => "bond0",
24         :role => :external,
25         :family => :inet6,
26         :address => "2001:648:2ffe:4::116",
27         :prefix => "64",
28         :gateway => "2001:648:2ffe:4::1"
29       }
30     }
31   },
32   :squid => {
33     :cache_mem => "6100 MB",
34     :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
35   },
36   :tilecache => {
37     :tile_parent => "athens.render.openstreetmap.org",
38     :tile_siblings => [
39       "trogdor.openstreetmap.org",
40       "katie.openstreetmap.org",
41       "konqi.openstreetmap.org",
42       "ridgeback.openstreetmap.org",
43       "gorynych.openstreetmap.org"
44     ]
45   }
46 )
47
48 run_list(
49   "role[grnet]",
50   "role[tilecache]"
51 )