formations/modules_EOLE_envole/documents/exercice3/30_phpldapadmin.xml

38 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<creole>
<containers>
<container name="web">
<file name='/etc/phpldapadmin/apache.conf'/>
<file name='/etc/phpldapadmin/config.php' source='phpldapadmin.php' filelist='phpldapadmin'/>
<package>phpldapadmin</package>
</container>
</containers>
<variables>
<family name='applications web'>
<variable name='activate_phpldapadmin' type='oui/non' description="Activer phpldapadmin">
<value>non</value>
</variable>
</family>
<family name='phpldapadmin'>
<variable name="phpldapadmin_host" type="string" description="Adresse IP ou DNS du serveur ldap" multi='True' mandatory="True">
<value>localhost</value>
</variable>
<variable name="phpldapadmin_name" type="string" description="Nom du serveur ldap" mandatory="True"/>
</family>
</variables>
<constraints>
<condition name='hidden_if_in' source='activate_phpldapadmin'>
<param>non</param>
<target type='family'>phpldapadmin</target>
<target type='filelist'>phpldapadmin</target>
</condition>
<group master='phpldapadmin_host'>
<slave>phpldapadmin_name</slave>
</group>
</constraints>
<help>
</help>
</creole>