]> git.openstreetmap.org Git - chef.git/blob - roles/drogon.rb
Update culebre configuration for squid 3
[chef.git] / roles / drogon.rb
1 name "drogon"
2 description "Master role applied to drogon"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :zelja => { :status => :administrator }
8     }
9   },
10   :location => "Osijek, Croatia",
11   :networking => {
12     :interfaces => {
13       :external_ipv4 => {
14         :interface => "eth0",
15         :role => :external,
16         :family => :inet,
17         :address => "161.53.30.107",
18         :prefix => "27",
19         :gateway => "161.53.30.97"
20       },
21       :external_ipv6 => {
22         :interface => "eth0",
23         :role => :external,
24         :family => :inet6,
25         :address => "2001:b68:c0ff:0:221:5eff:fe40:c7c4",
26         :prefix => "64",
27         :gateway => "fe80::161:53:30:97"
28       }
29     },
30     :nameservers => [
31       "161.53.30.100",
32       "8.8.8.8"
33     ]
34   },
35   :squid => {
36     :cache_mem => "20000 MB",
37     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
38   },
39   :tilecache => {
40     :tile_parent => "osijek.render.openstreetmap.org",
41     :tile_siblings => [
42       "viserion.openstreetmap.org"
43     ]
44   }
45 )
46
47 run_list(
48   "role[carnet]",
49   "role[tilecache]"
50 )