49 lines
1.9 KiB
XML
49 lines
1.9 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<rougail version="0.10">
|
|
<services>
|
|
<service name="roundcube" engine="creole" target="multi-user">
|
|
<file owner="root" group="apache" mode="640">/etc/roundcubemail/config.inc.php</file>
|
|
<file>/etc/httpd/conf.d/roundcubemail.conf</file>
|
|
<file>/secrets/roundcube-init.php</file>
|
|
<file>/etc/pki/ca-trust/source/anchors/ca_MailServer.crt</file>
|
|
</service>
|
|
</services>
|
|
<variables>
|
|
<family name="roundcube" description="Interface web de consultation des courriels Roundcube">
|
|
<variable name="roundcube_des_key" type="secret" auto_freeze="True" hidden="True"/>
|
|
</family>
|
|
<family name="nginx">
|
|
<variable name="revprox_client_location" redefine="True">
|
|
<value>/roundcube</value>
|
|
</variable>
|
|
</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>Courriel</value>
|
|
</variable>
|
|
<variable name="oauth2_client_description" redefine='True'>
|
|
<value>Consulter ces courriels avec Roundcube</value>
|
|
</variable>
|
|
</family>
|
|
</variables>
|
|
<constraints>
|
|
<fill name="get_password">
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
<param name="username">roundcube</param>
|
|
<param name="description">des_key</param>
|
|
<param name="type">cleartext</param>
|
|
<target>roundcube_des_key</target>
|
|
</fill>
|
|
<fill name="calc_value">
|
|
<param>https://</param>
|
|
<param type="variable" optional="True">revprox_client_external_domainname</param>
|
|
<param type="variable" optional="True">revprox_client_location</param>
|
|
<param>/index.php/login/oauth</param>
|
|
<param name="join"></param>
|
|
<target>oauth2_client_login</target>
|
|
</fill>
|
|
</constraints>
|
|
</rougail>
|