48 lines
2.1 KiB
XML
48 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<creole>
|
|
<files>
|
|
<!-- service de sauvegarde Bacula -->
|
|
<file filelist='syspass-bacula' name='/etc/bacula/baculafichiers.d/syspass.conf' source='syspass-bacula.conf' rm='True'/>
|
|
</files>
|
|
<containers>
|
|
<container name='web'>
|
|
<package>eole-syspass-pkg</package>
|
|
<!-- service de configuration apache -->
|
|
<service method="apache" servicelist="syspass">syspass</service>
|
|
<!-- fichiers de conf apache -->
|
|
<file filelist='syspass_files' name='/etc/apache2/sites-available/syspass' source='syspass-apache.conf' />
|
|
</container>
|
|
</containers>
|
|
<variables>
|
|
<family name='applications web'>
|
|
<variable name='activer_syspass' type='oui/non' description='Activer sysPass'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable name='syspass_allowed_ip' type='ip' description="IP autorisée à se connecter" mandatory='True' multi='True'/>
|
|
<variable name='syspass_allowed_netmask' type='netmask' description="masque du sous-réseau autorisé à se connecter" mandatory='True'/>
|
|
</family>
|
|
</variables>
|
|
<constraints>
|
|
<condition name='hidden_if_in' source='activer_apache'>
|
|
<param>non</param>
|
|
<target type='filelist'>syspass_files</target>
|
|
<target type='servicelist'>syspass</target>
|
|
</condition>
|
|
<condition name='hidden_if_in' source='activer_syspass'>
|
|
<param>non</param>
|
|
<target type='filelist'>syspass_files</target>
|
|
<target type='servicelist'>syspass</target>
|
|
</condition>
|
|
<condition name='hidden_if_in' source='activer_bacula_dir' fallback='True'>
|
|
<param>non</param>
|
|
<target type='filelist'>syspass-bacula</target>
|
|
</condition>
|
|
<group master='syspass_allowed_ip'>
|
|
<slave>syspass_allowed_netmask</slave>
|
|
</group>
|
|
</constraints>
|
|
<help>
|
|
<variable name='activer_syspass'>sysPass est un coffre-fort de secrets multi-utilisateurs codé en PHP et JavaScript.</variable>
|
|
</help>
|
|
</creole>
|