require "securerandom"
include_recipe "apache"
+include_recipe "prometheus"
-package "mailman"
-
-node.rm_normal(:mailman, :subscribe_form_secret)
+package %w[
+ locales-all
+ mailman
+ ruby-webrick
+]
subscribe_form_secret = persistent_token("mailman", "subscribe_form_secret")
group "root"
mode "755"
end
+
+prometheus_exporter "mailman" do
+ port 8083
+ user "list"
+end