]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/recipes/default.rb
Update to tilelog 1.6.1
[chef.git] / cookbooks / mailman / recipes / default.rb
index af6daa14a0612123bc7be9962011c36b826f5245..f7deccaddb03f102f9b775b32b35bb9ec0fa89f5 100644 (file)
 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