From fb895bae10405638f04a19b019256ae80c4d65ba Mon Sep 17 00:00:00 2001
From: Fabien COMBERNOUS <fabien.combernous@adullact.org>
Date: Thu, 23 Jan 2025 12:48:37 +0100
Subject: [PATCH] Web interface for Sympa mailing list manager is in https

---
 REFERENCE.md             | 5 +++--
 manifests/init.pp        | 6 ++++--
 templates/sympa.conf.epp | 2 +-
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/REFERENCE.md b/REFERENCE.md
index cfcf742..7ceb4d0 100644
--- a/REFERENCE.md
+++ b/REFERENCE.md
@@ -147,7 +147,8 @@ Default value: `'6.2.74'`
 
 Data type: `Stdlib::Fqdn`
 
-Primary mail domain name.
+Primary mail domain name. Web interface for Sympa mailing list manager, can
+be joined at https://$listdomain
 
 Default value: `'listes.example.org'`
 
@@ -155,7 +156,7 @@ Default value: `'listes.example.org'`
 
 Data type: `Stdlib::Email`
 
-Email addresses of listmasters
+Email addresses of listmaster
 
 Default value: `'listmaster@example.org'`
 
diff --git a/manifests/init.pp b/manifests/init.pp
index 6560edf..609e182 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -14,8 +14,10 @@
 # @param sysconf_dir Configuration dir under prefix_path
 # @param aliases_file Aliases file to store Sympa mail aliases, under sysconfig_dir
 # @param release Installed release number of Sympa.
-# @param listdomain Primary mail domain name.
-# @param listmaster Email addresses of listmasters
+# @param listdomain
+#   Primary mail domain name. Web interface for Sympa mailing list manager, can
+#   be joined at https://$listdomain
+# @param listmaster Email addresses of listmaster
 # @param lang Supported language
 # @param topics Defines topics (categories) of the mailing lists.
 #
diff --git a/templates/sympa.conf.epp b/templates/sympa.conf.epp
index ee85d38..f45a1b1 100644
--- a/templates/sympa.conf.epp
+++ b/templates/sympa.conf.epp
@@ -33,7 +33,7 @@ db_passwd           <%= $sympa::db_password %>
 # each domain.
 
 #wwsympa_url         https://<%= $sympa::listdomain %>
-wwsympa_url         http://<%= $sympa::listdomain %>/sympa
+wwsympa_url         https://<%= $sympa::listdomain %>/sympa
 
 ########################################################################
 # Customizing Sympa
-- 
GitLab