forked from stove/dataset
84 lines
3.8 KiB
XML
84 lines
3.8 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<rougail version="0.10">
|
|
<services>
|
|
<service name="mailman3"> <!-- target="multi-user">-->
|
|
<override/>
|
|
<file owner="root" group="list" mode="640">/etc/mailman3/mailman.cfg</file>
|
|
<file engine="none" source="tmpfile-mailman.conf">/tmpfiles.d/0mailman.conf</file>
|
|
<file filelist="copy_tests">/tests/mailman.yml</file>
|
|
<!--file owner="root" group="mailman" mode="640">/etc/mailman3.d/postfix.cfg</file-->
|
|
</service>
|
|
<service name="mailman3-web"> <!-- target="multi-user" engine="cheetah">-->
|
|
<override/>
|
|
<certificate authority="PostgreSQL" owner="www-data" server="pg_client_server_domainname">postgresql_postorius</certificate>
|
|
<!--file engine="none">/etc/postorius/gunicorn_config.py</file>
|
|
<file engine="none" source="sysuser-postorius.conf">/sysusers.d/0postorius.conf</file-->
|
|
<file source="config-nginx.conf">/etc/mailman3/nginx.conf</file>
|
|
<file>/etc/mailman3/mailman-web.py</file>
|
|
<file>/etc/mailman3/uwsgi.ini</file>
|
|
</service>
|
|
<!--service name="postgresqlclient" target="multi-user" engine="cheetah"-->
|
|
<!-- mailman and postorius have differents username -->
|
|
<!--file owner="postorius" mode="400" source="postgresql.key">/etc/pki/tls/private/postgresql_postorius.key</file-->
|
|
<!--/service-->
|
|
</services>
|
|
<variables>
|
|
<family name="mailman" description="Gestionnaire de liste">
|
|
<variable name="mailman_mail_owner" type="mail" description="Courriel du gestionnaire de liste du site"/>
|
|
<variable name="mailman_domains" type="domainname" description="Nom de domaine des listes" multi="True" mandatory="True"/>
|
|
<variable name="postorius_secret_key" type="password" description="Internal secret key" mandatory="True" hidden="True" auto_save="False"/>
|
|
</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>
|
|
<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>
|
|
<variable name="oauth2_client_token_signature_algo" redefine="True">
|
|
<value>RS256</value>
|
|
</variable>
|
|
<family name="external">
|
|
<variable name="oauth2_client_external" redefine="True" remove_fill="True"/>
|
|
</family>
|
|
</family>
|
|
<family name="nginx">
|
|
<variable name="nginx_default_https" redefine="True">
|
|
<value>False</value>
|
|
</variable>
|
|
<variable name="nginx_root" redefine="True">
|
|
<value>/usr/share/webapps/postorius</value>
|
|
</variable>
|
|
</family>
|
|
<family name="postgresql">
|
|
<variable name="pg_client_key_owner" redefine="True">
|
|
<value>list</value>
|
|
</variable>
|
|
</family>
|
|
</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>
|
|
<param name="hide" type="variable">hide_secret</param>
|
|
<target>postorius_secret_key</target>
|
|
</fill>
|
|
<fill name="calc_oauth2_client_external">
|
|
<param type="variable">revprox_client_external_domainnames</param>
|
|
<param type="variable">revprox_client_location</param>
|
|
<param>accounts/risotto/login/</param>
|
|
<target>oauth2_client_external</target>
|
|
</fill>
|
|
</constraints>
|
|
</rougail>
|