clarify mailman initial setup authored by anarcat's avatar anarcat
...@@ -845,10 +845,14 @@ We currently manage Mailman through the `profile::mailman` Puppet ...@@ -845,10 +845,14 @@ We currently manage Mailman through the `profile::mailman` Puppet
class, as the [forge modules](https://forge.puppet.com/modules?q=mailman) ([thias/mailman](https://forge.puppet.com/modules/thias/mailman/readme) and class, as the [forge modules](https://forge.puppet.com/modules?q=mailman) ([thias/mailman](https://forge.puppet.com/modules/thias/mailman/readme) and
[nwaller/mailman](https://forge.puppet.com/modules/nwaller/mailman/readme)) are both only for Mailman 2. [nwaller/mailman](https://forge.puppet.com/modules/nwaller/mailman/readme)) are both only for Mailman 2.
Note that the profile currently sets up Mailman with a SQLite At first we were relying purely on the Debian package to setup
database, even though it *does* install PostgreSQL and a matching databases, but this kind of broke apart. The profile originally setup
user. The configuration of that database user needs to be redone by the server with a SQLite database, but now it installs
hand after Puppet runs: PostgreSQL and a matching user. It also configures the Mailman server to
use those, which breaks the Puppet run.
To workaround that, the configuration of that database user needs to
be redone by hand after Puppet runs:
apt purge mailman3 mailman3-web apt purge mailman3 mailman3-web
rm -rf /var/spool/postfix/mailman3/data /var/lib/mailman3/web/mailman3web.db rm -rf /var/spool/postfix/mailman3/data /var/lib/mailman3/web/mailman3web.db
... ...
......