]> git.openstreetmap.org Git - chef.git/blob - roles/konqi.rb
10e69e19617b3891a53cf00004cc0bfd8244a077
[chef.git] / roles / konqi.rb
1 name "konqi"
2 description "Master role applied to konqi"
3
4 default_attributes(
5   :networking => {
6     :netplan => true,
7     :interfaces => {
8       :external_ipv4 => {
9         :interface => "eth0",
10         :role => :external,
11         :family => :inet,
12         :address => "81.7.11.83",
13         :prefix => "24",
14         :gateway => "81.7.11.1"
15       },
16       :external_ipv6 => {
17         :interface => "eth0",
18         :role => :external,
19         :family => :inet6,
20         :address => "2a02:180:1:1::517:b53",
21         :prefix => "64",
22         :gateway => "2a02:180:1:1::1"
23       }
24     }
25   },
26   :squid => {
27     :cache_mem => "12500 MB",
28     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
29   },
30   :tilecache => {
31     :tile_parent => "germany.render.openstreetmap.org",
32     :tile_siblings => [
33       "katie.openstreetmap.org",
34       "trogdor.openstreetmap.org",
35       "nepomuk.openstreetmap.org",
36       "ridgeback.openstreetmap.org",
37       "gorynych.openstreetmap.org",
38       "simurgh.openstreetmap.org"
39     ]
40   }
41 )
42
43 run_list(
44   "role[euserv]",
45   "role[tilecache]"
46 )