X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/52be237df66e6b4e886837838cfe53c632602812..b25f46122ff7e9092ec9fb2e88ad15c564155c5e:/cookbooks/mailman/recipes/default.rb diff --git a/cookbooks/mailman/recipes/default.rb b/cookbooks/mailman/recipes/default.rb index 2525f9c04..f7deccadd 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 %w[ locales-all mailman + ruby-webrick ] subscribe_form_secret = persistent_token("mailman", "subscribe_form_secret") @@ -69,3 +71,8 @@ template "/etc/cron.daily/lists-backup" do group "root" mode "755" end + +prometheus_exporter "mailman" do + port 8083 + user "list" +end