]> git.openstreetmap.org Git - chef.git/blob - roles/tabaluga.rb
f9bd13bdd936b6a1a88e388aa13864d0c1e1bc67
[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 => "falkenstein.render.openstreetmap.org",
31     :tile_siblings => [
32       "trogdor.openstreetmap.org",
33       "lurien.openstreetmap.org",
34       "ridgeback.openstreetmap.org"
35     ]
36   }
37 )
38
39 run_list(
40   "role[hetzner]",
41   "role[tilecache]"
42 )