Commit Graph

16 Commits

Author SHA1 Message Date
Clark Boylan 4e287e1a3c Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: Iead8de30a8606e69787056be11a2e89bd63639ea
2022-02-17 11:53:50 -08:00
James E. Blair 26be785a8f Remove AvoidDuplicates from mailman pipeline
This prevents mailman from altering the CC header, at the expense
of causing some users to receive duplicate messages.

Hopefully they have MTA or MUAs which can suppress duplicates based
on Message-ID.

Change-Id: I8dcb071d977d45f1ed8e0793c35d0f6f312a7ba8
2019-02-05 16:04:25 -08:00
James E. Blair af11a96f78 Exit 0 if MAILMAN_SITE_DIR is not set
This variable is required for the multihost hack to work, but the
dpkg scripts don't know about it.  Just exit 0 if it's not set
(but still provide a message for admins) so that the dpkg scripts
don't bomb.

Change-Id: Ib5d806794d62c089f4267f7b5e4cee6e6702c5ff
2018-05-04 15:01:37 -07:00
James E. Blair b0088677cd Use multisite template dir
Start using the new template directory in multisite installations.

Depends-On: https://review.openstack.org/535851
Change-Id: I471509355576f2a8ed1bea04782388281958a4cc
2018-01-23 16:07:46 -08:00
James E. Blair 00d2dbbc6c Export MAILMAN_SITE_DIR in init script
This is necessary for list_lists to use it in a subshell.

Change-Id: Icea86b11eabd4cb336989836065a4cec7570e9db
2017-12-22 15:12:07 -08:00
James E. Blair 7d47b9ea1a Fix multisite archive paths
Change-Id: I27fa37f0f1e39a8b7aaa3206727b916f8a33a7fb
2017-12-22 15:08:33 -08:00
Clark Boylan 871e86687f Alias $name in mailman site for vhost templating
The apache vhost templating is evaluated within the context of an inner
puppet defined resource which overrides the $name value with its own
$name. This means if we want to pass the $name of the outer mailman site
defined resources we need to give it another non overridden name.

In this case we alias $mailman_site_name to $name and use that.

Change-Id: I22e7285161deb7e7945559e0b7a421d244ab1b7a
2017-12-22 15:07:03 -08:00
James E. Blair 0778735e66 Add multi-site support
This adds optional support for creating multiple sites which
appear as independent mailman installations, though they all
rely on the underlying operating-system provided install.

Story: 2001382
Task: 6091
Depends-On: Ic92726dc341af5802ad803d239bd547ef5068043
Change-Id: I3a31465882ec95d822d590045216ec751c7cd22e
2017-12-13 13:49:57 -08:00
Paul Belanger 019bb0c560 Add apache 2.4 support
Change-Id: Ibe002356d01f21fdaefbe206c01a766e7ee80b59
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-25 15:26:27 -05:00
Paul Belanger d034bfe8ff Fix variable access warnings
Change-Id: Ie41a38877145e6583d012d305d930b64a4d147b5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-09 16:54:20 -04:00
Jesse Keating a6a1182923 Default to admin viewable mailman membership
Change-Id: I0734d37ce65d817208c3b8a37e9b322d235ae8e1
Fixes: bug #1021493
Reviewed-on: https://review.openstack.org/28224
Reviewed-by: Rainya Mosher <rainya.mosher@rackspace.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Stefano Maffulli <stefano@openstack.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-06 18:13:53 +00:00
Monty Taylor cf23cf26f3 Clean up post-apache move carnage.
Change-Id: Ieeb8469126d64df75e7fa0fff67618daa6990674
Reviewed-on: https://review.openstack.org/11246
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:49:33 +00:00
Monty Taylor 3850c54837 Align all web server usage on apache module.
Change-Id: Idd712a8ee5ec81c6b88b7d3e2270dce4da254927
Reviewed-on: https://review.openstack.org/10838
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:03:46 +00:00
James E. Blair 014b40f2f2 Add redirect for lists.o.o.
And add rewrite module.

Change-Id: I87e922c7454dd281baced2293973e7c1ca2faaef
2012-07-05 12:14:36 -07:00
James E. Blair a53accc9b4 Install mailman apache config.
Also includes default index.html file which needs to be customized.

Change-Id: Idd2d03a95b8bfaba42d94701dc5a5ced204a1c65
2012-06-06 12:08:25 -07:00
James E. Blair 7da1e3453a Add initial mailman config.
Change-Id: I82cda9eb456c1ce3690eab8f558420c8a696ee25
2012-05-10 19:19:53 +00:00