]> git.openstreetmap.org Git - chef.git/blob - roles/grisu.rb
Allow shenron to rsync to the backup server
[chef.git] / roles / grisu.rb
1 name "grisu"
2 description "Master role applied to grisu"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :yellowbkpk => { :status => :administrator }
8     }
9   },
10   :networking => {
11     :interfaces => {
12       :external_ipv4 => {
13         :interface => "eth0",
14         :role => :external,
15         :family => :inet,
16         :address => "142.4.213.166",
17         :prefix => "24",
18         :gateway => "142.4.213.254"
19       },
20       :external_ipv6 => {
21         :interface => "eth0",
22         :role => :external,
23         :family => :inet6,
24         :address => "2607:5300:60:12a6::1",
25         :prefix => "64",
26         :gateway => "2607:5300:60:12ff:ff:ff:ff:ff"
27       }
28     }
29   },
30   :squid => {
31     :cache_mem => "9000 MB",
32     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
33   }
34 )
35
36 run_list(
37   "role[ovh-ca]",
38   "role[tilecache]"
39 )