2022-03-08 19:42:28 +01:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
|
|
|
<service name="nextcloudcron" engine="none"/>
|
|
|
|
<service name="nextcloudcron" type="timer" engine="none" target="timers"/>
|
|
|
|
<service name="nextcloud" engine="creole" target="multi-user">
|
|
|
|
<file owner="apache" group="apache" mode="440" source="nextcloud-config.php">/etc/nextcloud/config.php</file>
|
|
|
|
<file owner="root" group="apache" mode="750">/etc/nextcloud/nextcloud.init</file>
|
|
|
|
<file>/etc/httpd/conf.d/a-nextcloud-access.conf</file>
|
|
|
|
<file>/etc/httpd/conf.d/z-nextcloud-access.conf</file>
|
|
|
|
<file>/etc/php.d/20-pgsql.ini</file>
|
|
|
|
<file engine="none" source="tmpfile-nextcloud.conf">/tmpfiles.d/0nextcloud.conf</file>
|
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
|
|
|
<family name="nextcloud" description="Nextcloud">
|
|
|
|
<variable name="nextcloud_admin_password" type="password" auto_freeze="True" hidden="True"/>
|
|
|
|
<variable name="nextcloud_mail_admin" type="mail" mandatory="True"/>
|
|
|
|
<variable name="nextcloud_instance_id" type="password" auto_freeze="True" hidden="True"/>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="nextcloud_well_known_server" type="domainname" description="Nom de domaine du serveur hebergeant le répertoire .well-known"/>
|
|
|
|
<variable name="nextcloud_well_known_caldav" type="web_address" hidden='True'/>
|
|
|
|
<variable name="nextcloud_well_known_carddav" type="web_address" hidden='True'/>
|
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>Collaboration</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_description" redefine='True'>
|
|
|
|
<value>Plateforme de collaboration Nextcloud</value>
|
|
|
|
</variable>
|
2022-03-29 16:33:20 +02:00
|
|
|
<variable name="oauth2_client_category" redefine='True'>
|
2022-04-28 21:48:16 +02:00
|
|
|
<value>Diffusion</value>
|
2022-03-29 16:33:20 +02:00
|
|
|
</variable>
|
|
|
|
<variable name="oauth2_client_logo" redefine='True'>
|
|
|
|
<value>silique_folder.png</value>
|
|
|
|
</variable>
|
2022-03-08 19:42:28 +01:00
|
|
|
</family>
|
|
|
|
<family name="php">
|
|
|
|
<variable name="php_enable_output_buffering" redefine="True">
|
|
|
|
<value>False</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="php_disable_pcntl" redefine="True">
|
|
|
|
<value>False</value>
|
|
|
|
</variable>
|
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name="get_password">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username">admin_password</param>
|
|
|
|
<param name="description">nextcloud</param>
|
|
|
|
<param name="type">cleartext</param>
|
|
|
|
<target>nextcloud_admin_password</target>
|
|
|
|
</fill>
|
|
|
|
<!-- see lib/private/legacy/OC_Util.php -->
|
|
|
|
<fill name="get_password_alpha_num">
|
|
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
|
|
<param name="username">instance_id</param>
|
|
|
|
<param name="description">nextcloud</param>
|
|
|
|
<param name="length" type="number">10</param>
|
|
|
|
<param name="starts_with_char" type="boolean">True</param>
|
|
|
|
<target>nextcloud_instance_id</target>
|
|
|
|
</fill>
|
2022-03-29 16:33:20 +02:00
|
|
|
<fill name="calc_value">
|
|
|
|
<param type="variable">revprox_client_external_domainname</param>
|
|
|
|
<target>nextcloud_well_known_server</target>
|
|
|
|
</fill>
|
2022-03-20 21:15:45 +01:00
|
|
|
<check name="set_linked_multi_variables">
|
|
|
|
<param name="linked_provider_0">revprox_clients</param>
|
2022-03-29 16:33:20 +02:00
|
|
|
<param name="linked_value_0" type="variable">nextcloud_well_known_server</param>
|
2022-03-20 21:15:45 +01:00
|
|
|
<param name="linked_provider_1">revprox_location</param>
|
|
|
|
<param name="linked_value_1">/.well-known/caldav</param>
|
|
|
|
<param name="linked_provider_2">revprox_is_websocket</param>
|
|
|
|
<param name="linked_value_2" type="boolean">False</param>
|
|
|
|
<param name="linked_provider_3">revprox_url</param>
|
2022-03-29 16:33:20 +02:00
|
|
|
<param name="linked_value_3" type="variable">nextcloud_well_known_caldav</param>
|
2022-03-20 21:15:45 +01:00
|
|
|
<target>revprox_client_server_domainname</target>
|
|
|
|
</check>
|
|
|
|
<fill name="calc_web_address">
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
|
|
|
<param type="variable">revprox_client_port</param>
|
|
|
|
<param>/.well-known/caldav</param>
|
2022-03-29 16:33:20 +02:00
|
|
|
<target>nextcloud_well_known_caldav</target>
|
2022-03-20 21:15:45 +01:00
|
|
|
</fill>
|
|
|
|
<check name="set_linked_multi_variables">
|
|
|
|
<param name="linked_provider_0">revprox_clients</param>
|
2022-03-29 16:33:20 +02:00
|
|
|
<param name="linked_value_0" type="variable">nextcloud_well_known_server</param>
|
2022-03-20 21:15:45 +01:00
|
|
|
<param name="linked_provider_1">revprox_location</param>
|
|
|
|
<param name="linked_value_1">/.well-known/carddav</param>
|
|
|
|
<param name="linked_provider_2">revprox_is_websocket</param>
|
|
|
|
<param name="linked_value_2" type="boolean">False</param>
|
|
|
|
<param name="linked_provider_3">revprox_url</param>
|
2022-03-29 16:33:20 +02:00
|
|
|
<param name="linked_value_3" type="variable">nextcloud_well_known_carddav</param>
|
2022-03-20 21:15:45 +01:00
|
|
|
<target>revprox_client_server_domainname</target>
|
|
|
|
</check>
|
|
|
|
<fill name="calc_web_address">
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
|
|
|
<param type="variable">revprox_client_port</param>
|
|
|
|
<param>/.well-known/carddav</param>
|
2022-03-29 16:33:20 +02:00
|
|
|
<target>nextcloud_well_known_carddav</target>
|
2022-03-20 21:15:45 +01:00
|
|
|
</fill>
|
2022-03-08 19:42:28 +01:00
|
|
|
</constraints>
|
|
|
|
</rougail>
|