]> git.openstreetmap.org Git - chef.git/commitdiff
Install ruby-webrick for prometheus exporters that need it
authorTom Hughes <tom@compton.nu>
Mon, 27 Jun 2022 11:05:12 +0000 (12:05 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 27 Jun 2022 11:05:12 +0000 (12:05 +0100)
cookbooks/fail2ban/recipes/default.rb
cookbooks/mailman/recipes/default.rb
cookbooks/nominatim/recipes/default.rb
cookbooks/tile/recipes/default.rb

index 3ad626ff021588e2f183b118edea44d2be57d1d4..ca03d37d688ee97e734d6a7ed1cac876ce2b06fa 100644 (file)
 include_recipe "munin"
 include_recipe "prometheus"
 
-package "fail2ban"
+package %w[
+  fail2ban
+  ruby-webrick
+]
 
 template "/etc/fail2ban/jail.d/00-default.conf" do
   source "jail.default.erb"
index d88b18885d93c591bbd82cd4a5b5f1bad7260594..f7deccaddb03f102f9b775b32b35bb9ec0fa89f5 100644 (file)
@@ -25,6 +25,7 @@ include_recipe "prometheus"
 package %w[
   locales-all
   mailman
+  ruby-webrick
 ]
 
 subscribe_form_secret = persistent_token("mailman", "subscribe_form_secret")
index 14500499ff8cea5c073251f99362c4c83c2ecaaa..30b2a20d760be5373e455e58a49569da30e32051 100644 (file)
@@ -459,6 +459,8 @@ munin_plugin "nominatim_requests" do
   target "#{source_directory}/munin/nominatim_requests_querylog"
 end
 
+package "ruby-webrick"
+
 prometheus_exporter "nominatim" do
   port 8082
   user "www-data"
index f2bfd6a7b0929b39b148217a99cd12cbeabae83b..4f60005e7e001f1406462dd37724747bb2150d6b 100644 (file)
@@ -695,6 +695,8 @@ munin_plugin "renderd_zoom_time"
 
 munin_plugin "replication_delay"
 
+package "ruby-webrick"
+
 prometheus_exporter "modtile" do
   port 9494
 end