dataset/seed/redis/dictionaries/90_redis.xml

48 lines
2.1 KiB
XML
Raw Normal View History

2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name="redis" target="multi-user">
<ip ip_type='variable'>account.remote_ip</ip>
2023-02-14 14:24:16 +01:00
<certificate authority="Redis" owner="redis" type="server">redis</certificate>
<file>/etc/redis/redis.conf</file>
2022-03-08 19:42:28 +01:00
<file engine="none" source="sysuser-redis.conf">/sysusers.d/0redis.conf</file>
<file engine="none" source="tmpfile-redis.conf">/tmpfiles.d/0redis.conf</file>
2023-01-17 21:43:32 +01:00
<file filelist="copy_tests">/tests/redis.yml</file>
2022-03-08 19:42:28 +01:00
</service>
</services>
<variables>
<family name="redis" description="Redis" help="Configuration du service de cache Redis">
2022-12-25 17:08:52 +01:00
<variable name="redis_instance_name" description="Nom de l'instance" mandatory="True"/>
2022-03-08 19:42:28 +01:00
<variable name="redis_save" description="Activer la persistence des données">
<value>False</value>
</variable>
<variable name="redis_max_memory" type="number" description="Quantité de mémoire utilisable par Redis" help="La valeur est en Mo">
<value>512</value>
</variable>
<variable name="redis_memory_policy" description="Méthode de libération de mémoire lorsque le maximum est atteint" type="choice">
<value>noeviction</value>
<choice>volatile-lru</choice>
<choice>allkeys-lru</choice>
<choice>volatile-lfu</choice>
<choice>allkeys-lfu</choice>
<choice>volatile-random</choice>
<choice>allkeys-random</choice>
<choice>volatile-ttl</choice>
<choice>noeviction</choice>
</variable>
<variable name="redis_tcp_keepalive" type="number" description="Intervalle entre le dernier envoi de paquet TCP et la réponse ACK" help="La valeur est en seconde">
2023-01-17 21:43:32 +01:00
<value>300</value>
2022-03-08 19:42:28 +01:00
</variable>
<variable name="redis_max_clients" type="number" description="Nombre de client maximum autorisé">
<value>10000</value>
</variable>
</family>
</variables>
<constraints>
<fill name="calc_value">
<param type="variable">domain_name_eth0</param>
<target>redis_instance_name</target>
</fill>
</constraints>
</rougail>