]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/vectortile/recipes/default.rb
vectortile: track osm2pgsql db age
[chef.git] / cookbooks / vectortile / recipes / default.rb
index 39c54e5ddd3056599313a2ceb66c01e019797153..99211975ead7a5d4de1fb7dae9db2a5b90a74b77 100644 (file)
@@ -99,7 +99,7 @@ end
 python_package "tilekiln" do
   python_virtualenv tilekiln_directory
   python_version "3"
-  version "0.5.1"
+  version "0.6.3"
 end
 
 template "/srv/vector.openstreetmap.org/html/index.html" do
@@ -280,3 +280,17 @@ else
     action [:stop, :disable]
   end
 end
+
+package %w[
+  ruby-pg
+  ruby-webrick
+]
+
+prometheus_exporter "osm2pgsql" do
+  port 10027
+  user "tileupdate"
+  restrict_address_families "AF_UNIX"
+  options [
+    "--database-name=spirit"
+  ]
+end