]> git.openstreetmap.org Git - chef.git/blob - roles/tabaluga.rb
Follow X-Forward-For from localhost to see real IP of SSL connections
[chef.git] / roles / tabaluga.rb
1 name "tabaluga"
2 description "Master role applied to tabaluga"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "eth0",
9         :role => :external,
10         :family => :inet,
11         :address => "5.9.150.236",
12         :prefix => "27",
13         :gateway => "5.9.150.225"
14       },
15       :external_ipv6 => {
16         :interface => "eth0",
17         :role => :external,
18         :family => :inet6,
19         :address => "2a01:4f8:190:33eb::2",
20         :prefix => "64",
21         :gateway => "fe80::1"
22       }
23     }
24   },
25   :squid => {
26     :cache_mem => "12500 MB",
27     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
28   },
29   :tilecache => {
30     :tile_parent => "germany.render.openstreetmap.org",
31     :tile_siblings => [
32        "trogdor.openstreetmap.org",
33        "nepomuk.openstreetmap.org",
34        "ridgeback.openstreetmap.org",
35        "fume.openstreetmap.org",
36        "gorynych.openstreetmap.org",
37        "simurgh.openstreetmap.org"
38     ]
39   }
40 )
41
42 run_list(
43   "role[hetzner]",
44   "role[tilecache]"
45 )