From 29566b6a6fcd7def13a1796cd76f2207a838a770 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Jun 24 2024 15:22:47 +0000 Subject: [mailman3] Fix the ValueError during deployment It seems that setting `gatenews_every` to 0 is now throwing `ValueError`. Let's keep this to default (5m) and just ignore the error. Signed-off-by: Michal Konecny --- diff --git a/roles/mailman3/templates/mailman.cfg.j2 b/roles/mailman3/templates/mailman.cfg.j2 index 8d722b8..c234177 100644 --- a/roles/mailman3/templates/mailman.cfg.j2 +++ b/roles/mailman3/templates/mailman.cfg.j2 @@ -29,10 +29,6 @@ pid_file: /run/mailman3/master.pid class: mailman.database.postgresql.PostgreSQLDatabase url: postgresql://mailmanadmin:{{ mailman_mailman_db_pass }}@{{ mailman_db_server }}/mailman -# As we don't have a NNTP server let's disable the runner -[nntp] -gatenews_every: 0 - [archiver.hyperkitty] class: mailman_hyperkitty.Archiver enable: yes