# DO NOT EDIT - This file is being maintained by Chef

[renderd]
socketname=/var/run/renderd/renderd.sock
num_threads=<%= node[:cpu][:total] - 2 %>
tile_dir=/srv/tile.openstreetmap.org/tiles
stats_file=/var/run/renderd/renderd.stats

[mapnik]
plugins_dir=/usr/lib/mapnik/input
font_dir=/usr/share/fonts
font_dir_recurse=true
<% node[:tile][:styles].each do |name,details| -%>

[<%= name %>]
URI=/<%= name %>/
XML=/srv/tile.openstreetmap.org/styles/<%= name %>/project.xml
HOST=tile.openstreetmap.org
MINZOOM=0
MAXZOOM=<%= details[:max_zoom] %>
CORS=*
<% end -%>

# DO NOT EDIT - This file is being maintained by Chef

[renderd]
socketname=/var/run/renderd/renderd.sock
num_threads=<%= node[:cpu][:total] - 2 %>
tile_dir=/srv/tile.openstreetmap.org/tiles
stats_file=/var/run/renderd/renderd.stats

[mapnik]
<% if node[:lsb][:release].to_f >= 14.04 -%>
plugins_dir=/usr/lib/mapnik/2.2/input
<% else -%>        
plugins_dir=/usr/lib/mapnik/input
<% end -%>        
font_dir=/usr/share/fonts
font_dir_recurse=true
<% node[:tile][:styles].each do |name,details| -%>

[<%= name %>]
URI=/<%= name %>/
XML=/srv/tile.openstreetmap.org/styles/<%= name %>/project.xml
HOST=tile.openstreetmap.org
MINZOOM=0
MAXZOOM=<%= details[:max_zoom] %>
CORS=*
<% end -%>

Fix renderd plugin path for 14.04
Fix renderd plugin path for 14.04
