]> git.openstreetmap.org Git - chef.git/blob - roles/viserion.rb
Merge remote-tracking branch 'github/pull/49'
[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   :munin => {
11     :allow => ["193.198.233.210"]
12   },
13   :networking => {
14     :interfaces => {
15       :external_ipv4 => {
16         :interface => "eth0",
17         :role => :external,
18         :family => :inet,
19         :address => "193.198.233.211",
20         :prefix => "27",
21         :gateway => "193.198.233.209"
22       },
23       :external_ipv6 => {
24         :interface => "eth0",
25         :role => :external,
26         :family => :inet6,
27         :address => "2001:b68:4cff:3::3",
28         :prefix => "64",
29         :gateway => "2001:b68:4cff:3::1"
30       }
31     },
32     :nameservers => [
33       "161.53.2.66",
34       "2001:b68:ff:1::2",
35       "2001:b68:ff:2::2",
36       "2001:4860:4860::8888"
37     ]
38   },
39   :squid => {
40     :cache_mem => "12500 MB",
41     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
42   },
43   :tilecache => {
44     :tile_parent => "pula.render.openstreetmap.org",
45     :tile_siblings => [
46       "drogon.openstreetmap.org"
47     ]
48   }
49 )
50
51 run_list(
52   "role[carnet]",
53   "role[tilecache]"
54 )