2022-03-08 19:42:28 +01:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
|
|
|
<service name="mailman3" target="multi-user">
|
|
|
|
<override/>
|
|
|
|
<file owner="root" group="mailman" mode="640">/etc/mailman.cfg</file>
|
|
|
|
<file owner="root" group="mailman" mode="640">/etc/mailman3.d/postfix.cfg</file>
|
|
|
|
<file engine="none" source="sysuser-mailman.conf">/sysusers.d/0mailman.conf</file>
|
|
|
|
<file engine="none" source="tmpfile-mailman.conf">/tmpfiles.d/0mailman.conf</file>
|
|
|
|
</service>
|
|
|
|
<service name="postorius" target="multi-user" engine="creole">
|
|
|
|
<file engine="none">/etc/postorius/gunicorn_config.py</file>
|
|
|
|
<file engine="none" source="sysuser-postorius.conf">/sysusers.d/0postorius.conf</file>
|
2022-08-19 20:30:13 +02:00
|
|
|
<file source="config-nginx.conf">/etc/nginx/default.d/postorius.conf</file>
|
2022-03-08 19:42:28 +01:00
|
|
|
<file source="postorius-settings.py">/etc/mailman3.d/postorius.py</file>
|
2022-08-21 18:59:02 +02:00
|
|
|
<file>/tests/mailman.yml</file>
|
2022-03-08 19:42:28 +01:00
|
|
|
</service>
|
2022-04-28 21:48:16 +02:00
|
|
|
<service name="postgresqlclient" target="multi-user" engine="creole">
|
|
|
|
<file owner="postorius" mode="400">/etc/pki/tls/private/postgresql_postorius.key</file>
|
|
|
|
</service>
|
2022-03-08 19:42:28 +01:00
|
|
|
</services>
|
|
|
|
<variables>
|
|
|
|
<family name="mailman" description="Gestionnaire de liste">
|
|
|
|
<variable name="mailman_mail_owner" type="mail" description="Courriel du gestionnaire de liste du site"/>
|
2022-05-07 08:11:18 +02:00
|
|
|
<variable name="mailman_domains" type="domainname" description="Nom de domaine des listes" multi="True" mandatory="True"/>
|
2022-06-24 19:00:16 +02:00
|
|
|
<variable name="postorius_secret_key" type="password" description="Internal secret key" mandatory="True" hidden="True" auto_save="False"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
</family>
|
|
|
|
<family name="oauth2_client">
|
|
|
|
<variable name="oauth2_is_client_application" redefine='True'>
|
|
|
|
<value>True</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_name" redefine='True'>
|
|
|
|
<value>Liste de distribution</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_description" redefine='True'>
|
|
|
|
<value>Liste de distribution Mailman</value>
|
|
|
|
</variable>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="oauth2_client_category" redefine='True'>
|
|
|
|
<value>Développement</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_logo" redefine='True'>
|
|
|
|
<value>silique_email.png</value>
|
|
|
|
</variable>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="oauth2_client_token_signature_algo" redefine="True">
|
|
|
|
<value>RS256</value>
|
|
|
|
</variable>
|
2022-06-24 19:00:16 +02:00
|
|
|
<family name="external">
|
|
|
|
<variable name="oauth2_client_external" redefine="True" remove_fill="True"/>
|
|
|
|
</family>
|
2022-03-08 19:42:28 +01:00
|
|
|
</family>
|
2022-08-19 20:30:13 +02:00
|
|
|
<family name="nginx">
|
|
|
|
<variable name="nginx_root" redefine="True">
|
|
|
|
<value>/usr/share/webapps/postorius</value>
|
|
|
|
</variable>
|
|
|
|
</family>
|
2022-04-28 21:48:16 +02:00
|
|
|
<family name="postgresql">
|
|
|
|
<variable name="pg_client_key_owner" redefine="True">
|
|
|
|
<value>mailman</value>
|
|
|
|
</variable>
|
|
|
|
</family>
|
2022-03-08 19:42:28 +01:00
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username">postorius</param>
|
|
|
|
<param name="description">secret_key</param>
|
|
|
|
<param name="type">cleartext</param>
|
2022-06-24 19:00:16 +02:00
|
|
|
<param name="hide" type="variable">hide_secret</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<target>postorius_secret_key</target>
|
|
|
|
</fill>
|
2022-03-11 18:41:49 +01:00
|
|
|
<fill name="calc_oauth2_client_external">
|
2022-05-23 08:49:21 +02:00
|
|
|
<param type="variable">revprox_client_external_domainnames</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<param type="variable">revprox_client_location</param>
|
2022-06-26 19:33:44 +02:00
|
|
|
<param>accounts/risotto/login/</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<target>oauth2_client_external</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|