formations/modules_EOLE_envole/documents/tronc-commun-2/phpldapmyadmin/00_phpldapadmin.xml

40 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<creole>
<containers>
<container name="web">
<package>phpldapadmin</package>
<service method='apache' servicelist="phpldapadmin">phpldapadmin</service>
<file name="/etc/apache2/sites-available/phpldapadmin" source="phpldapadmin-apache.conf" filelist='phpldapadmin'/>
<file name="/etc/phpldapadmin/config.php" source="phpldapadmin-config.php" filelist='phpldapadmin'/>
</container>
</containers>
<variables>
<family name="applications web">
<variable name="activer_phpldapadmin" description="Activer phpldapadmin" type="oui/non">
<value>non</value>
</variable>
</family>
<family name="phpldapadmin">
<variable name="phpldapadmin_name" description="Nom du serveur LDAP" type="string" mandatory="True" multi='True'/>
<variable name="phpldapadmin_ip" description="IP du serveur LDAP" type="ip" mandatory='True'/>
</family>
</variables>
<constraints>
<group master="phpldapadmin_name">
<slave>phpldapadmin_ip</slave>
</group>
<condition name='hidden_if_in' source='activer_phpldapadmin'>
<param>non</param>
<target type='family'>phpldapadmin</target>
<target type='filelist'>phpldapadmin</target>
<target type='servicelist'>phpldapadmin</target>
</condition>
<fill name='calc_val' target='phpldapadmin_ip'>
<param type='eole' name='valeur'>adresse_ip_ldap</param>
</fill>
</constraints>
<help/>
</creole>