137 lines
7.3 KiB
XML
137 lines
7.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<creole>
|
|
<files>
|
|
<file filelist='ninestat' name='/etc/eole/eole-db.d/ninestat-db.yml' rm='True' mkdir='True'/>
|
|
</files>
|
|
|
|
<containers>
|
|
<container name='web'>
|
|
<file filelist='ninestat' name='/etc/apache2/sites-available/ninestat' source='ninestat-apache.conf' rm="True"/>
|
|
<file filelist="ninestat" name="/var/www/html/ninestat/app/config/parameters.yml" source="ninestat-parameters.yml" rm="True"/>
|
|
<file filelist="ninestat" name="/var/www/html/ninestat/app/config/template.yml" source="ninestat-template.yml" rm="True"/>
|
|
<file filelist="ninestat" name="/var/www/html/ninestat/scripts/ninestat-postservice-00.sh" source="ninestat-postservice-00.sh" rm="True" mode="700" />
|
|
<file filelist="ninestat" name="/var/www/html/ninestat/src/Cadoles/CoreBundle/Command/data/core-init-01.sql" source="ninestat-init-01.sql" rm="True"/>
|
|
<file filelist='ninestat' name='/etc/cron.d/ninestat' source='ninestat.cron' rm='True'/>
|
|
|
|
<service method='apache' servicelist='ninestat'>ninestat</service>
|
|
</container>
|
|
</containers>
|
|
|
|
<variables>
|
|
<family name='ninestat'>
|
|
<!-- BASIQUE -->
|
|
<variable type='oui/non' name='activer_ninestat' description='Activer Ninestat'><value>oui</value></variable>
|
|
|
|
<variable type='string' name='ninestat_masteridentity' description="Maître de l'Identité" mandatory='True'><value>Ninegate</value></variable>
|
|
<variable type='string' name='ninestat_urlidentity' description="URL complète de l'Identité" mandatory='True'><value>/ninegate</value></variable>
|
|
<variable type='string' name='ninestat_apikeyidentity' description="API Key de l'Identité" mandatory='True'><value>APIKeyNinegate</value></variable>
|
|
<variable type='string' name='ninestat_mode_auth' description="Mode Authentification" mandatory='True'><value>CAS</value></variable>
|
|
<variable type='string' name='ninestat_api_key' description="Clé d'accès API" mandatory='True'><value>APIKeyninestat</value></variable>
|
|
|
|
<!-- MODULE CRON -->
|
|
<variable type="oui/non" name='ninestat_activate_cron' description='Activer le module CRON' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
|
|
<!-- EMAIL -->
|
|
<variable type='string' name='ninestat_noreply' description='Adresse mail utilisé pour le noreply' mandatory='True' />
|
|
<variable type='string' name='ninestat_smtphost' description='Host du serveur SMTP' />
|
|
<variable type='string' name='ninestat_smtpport' description='Port du serveur SMTP' />
|
|
<variable type='string' name='ninestat_smtpuser' description='Compte du serveur SMTP' />
|
|
<variable type='string' name='ninestat_smtppwd' description='Fichier contenant le mot de passe associé du compte SMTP' />
|
|
<variable type='string' name='ninestat_smtpencryption' description='Type Encryptage du serveur SMTP' />
|
|
<variable type='string' name='ninestat_smtpauthmode' description='Mode Authentification du serveur SMTP' />
|
|
|
|
|
|
|
|
<!-- EOLEDB -->
|
|
<variable type='string' name='ninestat_db_mode' description='Serveur de bases de données à utiliser' mode='expert'/>
|
|
<variable type='string' name='ninestat_dbserver' description='Adresse du serveur de base de données' mode='expert'/>
|
|
<variable type='number' name='ninestat_dbport' description="Port d'écoute du serveur de base de données" mode='expert'/>
|
|
<variable type='string' name='ninestat_allow_hosts' description="Hôtes autorisés à utiliser la base de données" multi='True' mode='expert'/>
|
|
<variable type='string' name='ninestat_dbuser' description='Utilisateur du serveur de base de données' mode='expert'/>
|
|
<variable type='string' name='ninestat_dbpass' description='Fichier de mot de passe du serveur' mode='expert'/>
|
|
</family>
|
|
|
|
<separators>
|
|
<separator name="ninestat_noreply">Paramètres associés aux Mails</separator>
|
|
<separator name="ninestat_db_mode">Paramètres associés à la Base de Données</separator>
|
|
</separators>
|
|
</variables>
|
|
|
|
<constraints>
|
|
<condition name='hidden_if_in' source='activer_apache'>
|
|
<param>non</param>
|
|
<target type='variable'>activer_ninestat</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='activer_ninestat'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninestat_masteridentity</target>
|
|
<target type='variable'>ninestat_mode_auth</target>
|
|
<target type='variable'>ninestat_api_key</target>
|
|
|
|
<target type='variable'>ninegate_activate_cron</target>
|
|
|
|
<target type='variable'>ninestat_noreply</target>
|
|
<target type='variable'>ninestat_smtphost</target>
|
|
<target type='variable'>ninestat_smtpport</target>
|
|
<target type='variable'>ninestat_smtpuser</target>
|
|
<target type='variable'>ninestat_smtppwd</target>
|
|
<target type='variable'>ninestat_smtpencryption</target>
|
|
<target type='variable'>ninestat_smtpauthmode</target>
|
|
|
|
<target type='variable'>ninestat_db_mode</target>
|
|
<target type='variable'>ninestat_dbserver</target>
|
|
<target type='variable'>ninestat_dbport</target>
|
|
<target type='variable'>ninestat_allow_hosts</target>
|
|
<target type='variable'>ninestat_dbuser</target>
|
|
<target type='variable'>ninestat_dbpass</target>
|
|
|
|
<target type='filelist'>ninestat</target>
|
|
<target type='servicelist'>ninestat</target>
|
|
</condition>
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU MODE DE BDD -->
|
|
<condition name='hidden_if_in' source='ninestat_db_mode'>
|
|
<param>local</param>
|
|
<target type='variable'>ninestat_dbserver</target>
|
|
<target type='variable'>ninestat_dbuser</target>
|
|
<target type='variable'>ninestat_dbport</target>
|
|
<target type='variable'>ninestat_dbpass</target>
|
|
</condition>
|
|
<condition name='hidden_if_in' source='ninestat_db_mode'>
|
|
<param>default</param>
|
|
<target type='variable'>ninestat_dbserver</target>
|
|
<target type='variable'>ninestat_dbuser</target>
|
|
<target type='variable'>ninestat_dbport</target>
|
|
<target type='variable'>ninestat_dbpass</target>
|
|
<target type='variable'>ninestat_allow_hosts</target>
|
|
</condition>
|
|
|
|
|
|
<!-- VALID EMUN DES DIFFRENTES COMBO -->
|
|
<check name='valid_enum' target='ninestat_masteridentity'>
|
|
<param>['Ninegate']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninestat_mode_auth'>
|
|
<param>['CAS', 'SAML', 'LDAP']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninestat_smtpencryption'>
|
|
<param>['tls', 'ssl', 'null']</param>
|
|
</check>
|
|
<check name='valid_enum' target='ninestat_smtpauthmode'>
|
|
<param>['plain', 'login', 'cram-md5', 'null']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninestat_db_mode'>
|
|
<param>['default', 'externe', 'local']</param>
|
|
</check>
|
|
</constraints>
|
|
<help>
|
|
</help>
|
|
</creole>
|