X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5441891826af401fac1ad8a40d6c64a3071ca7c7..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/cookbooks/tile/templates/default/renderd.conf.erb?ds=inline diff --git a/cookbooks/tile/templates/default/renderd.conf.erb b/cookbooks/tile/templates/default/renderd.conf.erb index d02202d06..d29c58aa7 100644 --- a/cookbooks/tile/templates/default/renderd.conf.erb +++ b/cookbooks/tile/templates/default/renderd.conf.erb @@ -2,12 +2,12 @@ [renderd] socketname=/var/run/renderd/renderd.sock -num_threads=<%= node[:cpu][:total] - 1 %> +num_threads=<%= node.cpu_cores - 1 %> tile_dir=/srv/tile.openstreetmap.org/tiles stats_file=/var/run/renderd/renderd.stats [mapnik] -plugins_dir=/usr/lib/mapnik/3.0/input +plugins_dir=/usr/lib/mapnik/<%= node[:tile][:mapnik] %>/input font_dir=/usr/share/fonts font_dir_recurse=true <% node[:tile][:styles].each do |name,details| -%>