X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/929442ef54b2eb233b635c93cdcf86f2b4660c4c..ae4d13c8ba1b86d2f94bcdec799d0db052425333:/cookbooks/tile/recipes/default.rb diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index 9ae3dfc93..7befcdc20 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -118,17 +118,21 @@ template "/srv/tile.openstreetmap.org/html/index.html" do mode 0o644 end -package "python-cairo" -package "python-mapnik" -package "python-setuptools" +package %w[ + python-cairo + python-mapnik + python-setuptools +] python_package "pyotp" -package "fonts-noto-cjk" -package "fonts-noto-hinted" -package "fonts-noto-unhinted" -package "fonts-hanazono" -package "ttf-unifont" +package %w[ + fonts-noto-cjk + fonts-noto-hinted + fonts-noto-unhinted + fonts-hanazono + ttf-unifont +] ["NotoSansArabicUI-Regular.ttf", "NotoSansArabicUI-Bold.ttf"].each do |font| remote_file "/usr/share/fonts/truetype/noto/#{font}" do @@ -421,14 +425,20 @@ directory "/var/log/tile" do mode 0o755 end -package "osm2pgsql" -package "osmosis" +package %w[ + osm2pgsql + osmosis +] -package "ruby" -package "ruby-dev" +package %w[ + ruby + ruby-dev +] -package "libproj-dev" -package "libxml2-dev" +package %w[ + libproj-dev + libxml2-dev +] gem_package "proj4rb" gem_package "libxml-ruby"