]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Merge remote-tracking branch 'github/pull/713'
[chef.git] / cookbooks / tile / recipes / default.rb
index ddc7e490e4bf929cccfcd59fcc203cb2fc295b7a..a41a9f361abc867094164f246ecc968a30287810 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 "tileupdate"
+  restrict_address_families "AF_UNIX"
+  options [
+    "--database-name=gis"
+  ]
+end
 
 prometheus_exporter "modtile" do
   port 9494
 
 prometheus_exporter "modtile" do
   port 9494