X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/56fcbc5d4f195f3973c08a2155037ec9103c1c01..9ad5a4e981788c7254fd2975adfab84c3c2cbe2f:/cookbooks/mailman/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/mailman/recipes/default.rb b/cookbooks/mailman/recipes/default.rb index 1759bf50b..d88b18885 100644 --- a/cookbooks/mailman/recipes/default.rb +++ b/cookbooks/mailman/recipes/default.rb @@ -20,10 +20,12 @@ require "securerandom" include_recipe "apache" +include_recipe "prometheus" -package "mailman" - -node.rm_normal(:mailman, :subscribe_form_secret) +package %w[ + locales-all + mailman +] subscribe_form_secret = persistent_token("mailman", "subscribe_form_secret") @@ -68,3 +70,8 @@ template "/etc/cron.daily/lists-backup" do group "root" mode "755" end + +prometheus_exporter "mailman" do + port 8083 + user "list" +end