X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/326bfea5448bcd22cd294a1fd0f2505bf083f6cf..794cc957324de66edab45373053be3e601090f1f:/cookbooks/mailman/recipes/default.rb diff --git a/cookbooks/mailman/recipes/default.rb b/cookbooks/mailman/recipes/default.rb index af6daa14a..f7deccadd 100644 --- a/cookbooks/mailman/recipes/default.rb +++ b/cookbooks/mailman/recipes/default.rb @@ -20,8 +20,13 @@ require "securerandom" include_recipe "apache" +include_recipe "prometheus" -package "mailman" +package %w[ + locales-all + mailman + ruby-webrick +] subscribe_form_secret = persistent_token("mailman", "subscribe_form_secret") @@ -66,3 +71,8 @@ template "/etc/cron.daily/lists-backup" do group "root" mode "755" end + +prometheus_exporter "mailman" do + port 8083 + user "list" +end