]> git.openstreetmap.org Git - chef.git/blob - roles/waima.rb
Configure spike-{06,07,08} as web frontends
[chef.git] / roles / waima.rb
1 name "waima"
2 description "Master role applied to waima"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "ens3",
9         :role => :external,
10         :family => :inet,
11         :address => "192.168.1.4",
12         :prefix => "24",
13         :gateway => "192.168.1.1",
14         :public_address => "103.197.61.160"
15       }
16     }
17   },
18   :squid => {
19     :cache_mem => "7500 MB",
20     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
21   },
22   :tilecache => {
23     :tile_parent => "hamilton.render.openstreetmap.org",
24     :tile_siblings => [
25       "tuatara.openstreetmap.org",
26       "longma.openstreetmap.org",
27       "storfly-02.openstreetmap.org",
28       "jakelong.openstreetmap.org"
29     ]
30   }
31 )
32
33 run_list(
34   "role[catalyst]",
35   "role[tilecache]"
36 )