package "ttf-dejavu"
package "ttf-unifont"
-
-if node[:lsb][:release].to_f >= 16.04
- package "fonts-droid-fallback"
-else
- package "fonts-droid"
-end
-
+package "fonts-droid-fallback"
package "fonts-sipa-arundina"
package "fonts-sil-padauk"
package "fonts-khmeros"
mode 0o644
end
-if node[:lsb][:release].to_f >= 16.04
- file "/etc/rsyslog.d/20-renderd.conf" do
- action :delete
- notifies :restart, "service[rsyslog]"
- end
-
- file "/etc/logrotate.d/renderd" do
- action :delete
- end
-else
- template "/etc/rsyslog.d/20-renderd.conf" do
- source "renderd.rsyslog.erb"
- owner "root"
- group "root"
- mode 0o644
- notifies :restart, "service[rsyslog]"
- end
-
- template "/etc/logrotate.d/renderd" do
- source "renderd.logrotate.erb"
- owner "root"
- group "root"
- mode 0o644
- end
-end
-
package "liblockfile-simple-perl"
package "libfilesys-df-perl"
stats_file=/var/run/renderd/renderd.stats
[mapnik]
-<% if node[:lsb][:release].to_f >= 16.04 -%>
plugins_dir=/usr/lib/mapnik/3.0/input
-<% else -%>
-plugins_dir=/usr/lib/mapnik/2.2/input
-<% end -%>
font_dir=/usr/share/fonts
font_dir_recurse=true
<% node[:tile][:styles].each do |name,details| -%>