X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/08be09e5a29886586d4955e6bdcc6592ed6e531e..794cc957324de66edab45373053be3e601090f1f:/cookbooks/vectortile/recipes/default.rb diff --git a/cookbooks/vectortile/recipes/default.rb b/cookbooks/vectortile/recipes/default.rb index d57cee6a3..99211975e 100644 --- a/cookbooks/vectortile/recipes/default.rb +++ b/cookbooks/vectortile/recipes/default.rb @@ -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