]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Rework network configuration in Amsterdam to avoid duplication
[chef.git] / cookbooks / tile / recipes / default.rb
index ddc7e490e4bf929cccfcd59fcc203cb2fc295b7a..f969546af30cbcf4a5e66b7b154309fac130bbd9 100644 (file)
@@ -159,6 +159,7 @@ end
 package %w[
   python3-cairo
   python3-mapnik
+  python3-pil
   python3-pyotp
   python3-pyproj
   python3-setuptools
@@ -668,7 +669,19 @@ tile_directories.each do |directory|
   end
 end
 
-package "ruby-webrick"
+package %w[
+  ruby-pg
+  ruby-webrick
+]
+
+prometheus_exporter "osm2pgsql" do
+  port 10027
+  user "tile"
+  restrict_address_families "AF_UNIX"
+  options [
+    "--database-name=gis"
+  ]
+end
 
 prometheus_exporter "modtile" do
   port 9494