rougail/tests/dictionaries/40ifin_leadershipauto_follower/00-base.xml

40 lines
1.4 KiB
XML
Raw Normal View History

2020-12-26 15:15:51 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2021-02-18 18:57:50 +01:00
<rougail version="0.9">
2020-12-26 15:15:51 +01:00
<services>
<service name='test'>
2021-02-19 14:44:27 +01:00
<file>/etc/mailname</file>
2021-02-20 18:01:13 +01:00
<file engine="jinja2">/etc/mailname2</file>
2020-12-26 15:15:51 +01:00
</service>
</services>
<variables>
<family name="general">
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif" type="string" description="No change">
2020-12-26 15:15:51 +01:00
<value>non</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name="condition" type="string" description="condition">
<value>oui</value>
</variable>
<variable name="leader" type="string" description="leader" multi="True">
2020-12-26 15:15:51 +01:00
<value>a</value>
<value>b</value>
</variable>
<variable name="follower1" type="string" description="follower1"/>
<variable name="follower2" type="string" description="follower2"/>
</family>
</variables>
<constraints>
<group leader="leader">
<follower>follower1</follower>
<follower>follower2</follower>
</group>
<fill name="calc_val">
2020-12-26 15:15:51 +01:00
<param name="valeur">valfill</param>
<target>follower1</target>
2020-12-26 15:15:51 +01:00
</fill>
<condition name="disabled_if_in" source="leader">
<param>a</param>
<target type="variable">follower1</target>
</condition>
</constraints>
</rougail>