]> git.openstreetmap.org Git - chef.git/blob - roles/cmok.rb
Correct vlan number for spike-01
[chef.git] / roles / cmok.rb
1 name "cmok"
2 description "Master role applied to cmok"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "enp4s0",
9         :role => :external,
10         :family => :inet,
11         :address => "31.130.201.40",
12         :prefix => "27",
13         :gateway => "31.130.201.33"
14       },
15       :external_ipv6 => {
16         :interface => "enp4s0",
17         :role => :external,
18         :family => :inet6,
19         :address => "2001:67c:2268:1005:21e:8cff:fe8c:8d3b",
20         :prefix => "64",
21         :gateway => "fe80::20c:42ff:feb2:8ff9"
22       }
23     }
24   },
25   :squid => {
26     :cache_mem => "4096 MB",
27     :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
28   },
29   :tilecache => {
30     :tile_parent => "minsk.render.openstreetmap.org",
31     :tile_siblings => [
32       "trogdor.openstreetmap.org",
33       "katie.openstreetmap.org",
34       "konqi.openstreetmap.org",
35       "ridgeback.openstreetmap.org",
36       "gorynych.openstreetmap.org"
37     ]
38   }
39 )
40
41 run_list(
42   "role[datahata]",
43   "role[tilecache]"
44 )