]> git.openstreetmap.org Git - chef.git/blob - roles/viserion.rb
Fix link in README.md and add OWG link
[chef.git] / roles / viserion.rb
1 name "viserion"
2 description "Master role applied to viserion"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :anovak => { :status => :administrator }
8     }
9   },
10   :location => "Pula, Croatia",
11   :munin => {
12     :allow => ["193.198.233.210"]
13   },
14   :networking => {
15     :interfaces => {
16       :external_ipv4 => {
17         :interface => "eth0",
18         :role => :external,
19         :family => :inet,
20         :address => "193.198.233.211",
21         :prefix => "29",
22         :gateway => "193.198.233.209"
23       },
24       :external_ipv6 => {
25         :interface => "eth0",
26         :role => :external,
27         :family => :inet6,
28         :address => "2001:b68:4cff:3::3",
29         :prefix => "64",
30         :gateway => "2001:b68:4cff:3::1"
31       }
32     },
33     :nameservers => [
34       "8.8.8.8",
35       "8.8.4.4",
36       "2001:4860:4860::8888",
37       "2001:4860:4860::8844"
38     ]
39   },
40   :squid => {
41     :cache_mem => "28000 MB",
42     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
43   },
44   :tilecache => {
45     :tile_parent => "pula.render.openstreetmap.org",
46     :tile_siblings => [
47       "drogon.openstreetmap.org"
48     ]
49   }
50 )
51
52 run_list(
53   "role[carnet]",
54   "role[tilecache]"
55 )