From: Paul Norman Date: Fri, 30 Aug 2024 00:37:19 +0000 (-0700) Subject: Add wawel, a tile server hosted by cloudferro X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/24310af1d5ff79742861dcd8543a2cfdcf334a91 Add wawel, a tile server hosted by cloudferro --- diff --git a/roles/wawel.rb b/roles/wawel.rb new file mode 100644 index 000000000..e29ac63ec --- /dev/null +++ b/roles/wawel.rb @@ -0,0 +1,40 @@ +name "wawel" +description "Master role applied to wawel" + +default_attributes( + :postgresql => { + :settings => { + :defaults => { + :effective_cache_size => "16GB" + } + } + }, + :sysctl => { + :postgres => { + :comment => "Increase shared memory for postgres", + :parameters => { + "kernel.shmmax" => 9 * 1024 * 1024 * 1024, + "kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096 + } + } + }, + :tile => { + :database => { + :cluster => "16/main", + :postgis => "3" + }, + :mapnik => "3.1", + :styles => { + :default => { + :tile_directories => [ + { :name => "/store/tiles/default", :min_zoom => 0, :max_zoom => 19 } + ] + } + } + } +) + +run_list( + "role[cloudferro-waw3-2]", + "role[tile]" +)