]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/recipes/default.rb
Use backport of cgi-mapserver
[chef.git] / cookbooks / mailman / recipes / default.rb
index 2525f9c0440cd5aa45420883be2818b2a2304a1f..f7deccaddb03f102f9b775b32b35bb9ec0fa89f5 100644 (file)
 require "securerandom"
 
 include_recipe "apache"
 require "securerandom"
 
 include_recipe "apache"
+include_recipe "prometheus"
 
 package %w[
   locales-all
   mailman
 
 package %w[
   locales-all
   mailman
+  ruby-webrick
 ]
 
 subscribe_form_secret = persistent_token("mailman", "subscribe_form_secret")
 ]
 
 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
   group "root"
   mode "755"
 end
+
+prometheus_exporter "mailman" do
+  port 8083
+  user "list"
+end