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