]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Add IPv6 addresses to dulcy
[chef.git] / cookbooks / tile / recipes / default.rb
index ddc7e490e4bf929cccfcd59fcc203cb2fc295b7a..13b8973634aed84b3df57dfc070002aa569d4072 100644 (file)
@@ -668,7 +668,19 @@ tile_directories.each do |directory|
   end
 end
 
   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
 
 prometheus_exporter "modtile" do
   port 9494