]> git.openstreetmap.org Git - chef.git/blob - roles/lockheed.rb
Configure modtile and renderd collectors
[chef.git] / roles / lockheed.rb
1 name "lockheed"
2 description "Master role applied to lockheed"
3
4 default_attributes(
5   :accounts => {
6     :administrators => %w[luc qt fat115 tcit chocobozzz qdupont josephk spf pyg]
7   },
8   :hardware => {
9     :shm_size => "12g"
10   },
11   :location => "Falkenstein, Germany",
12   :networking => {
13     :interfaces => {
14       :external_ipv4 => {
15         :interface => "ens13",
16         :role => :external,
17         :family => :inet,
18         :address => "176.9.171.103",
19         :prefix => "28",
20         :gateway => "176.9.171.97"
21       },
22       :external_ipv6 => {
23         :interface => "ens13",
24         :role => :external,
25         :family => :inet6,
26         :address => "2a01:4f8:13a:209::103",
27         :prefix => "64",
28         :gateway => "2a01:4f8:13a:209::3"
29       }
30     }
31   },
32   :squid => {
33     :version => 4,
34     :cache_mem => "8192 MB",
35     :cache_dir => [
36       "rock /store/squid/rock-4096 20000 swap-timeout=200 slot-size=4096 max-size=3996",
37       "rock /store/squid/rock-8192 25000 swap-timeout=200 slot-size=8192 min-size=3997 max-size=8092",
38       "rock /store/squid/rock-16384 35000 swap-timeout=200 slot-size=16384 min-size=8093 max-size=16284",
39       "rock /store/squid/rock-32768 45000 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144"
40     ]
41   },
42   :tilecache => {
43     :tile_parent => "france.render.openstreetmap.org"
44   }
45 )
46
47 run_list(
48   "role[hetzner]",
49   "role[tilecache]"
50 )