X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/2aa8360a91c880e3edd716a462b635cd7de29077..7b86da8b9f7eec9f5bc10f22bf287fb49212dc12:/roles/chrysophylax.rb diff --git a/roles/chrysophylax.rb b/roles/chrysophylax.rb new file mode 100644 index 000000000..45482639b --- /dev/null +++ b/roles/chrysophylax.rb @@ -0,0 +1,43 @@ +name "chrysophylax" +description "Master role applied to chrysophylax" + +default_attributes( + :networking => { + :interfaces => { + :external_ipv4 => { + :interface => "ens160", + :role => :external, + :family => :inet, + :address => "217.71.244.22", + :prefix => "30", + :gateway => "217.71.244.21" + }, + :external_ipv6 => { + :interface => "ens160", + :role => :external, + :family => :inet6, + :address => "2001:8e0:40:2039::10", + :prefix => "64", + :gateway => "2001:8e0:40:2039::1" + } + } + }, + :squid => { + :cache_mem => "7500 MB", + :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" + }, + :tilecache => { + :tile_parent => "france.render.openstreetmap.org", + :tile_siblings => [ + "noomoahk.openstreetmap.org", + "nepomuk.openstreetmap.org", + "ladon.openstreetmap.org", + "culebre.openstreetmap.org" + ] + } +) + +run_list( + "role[iway]", + "role[tilecache]" +)