rougail/tests/dictionaries/10load_disabled_if_in_multi.../00-base.xml

39 lines
1.3 KiB
XML
Raw Normal View History

2021-02-06 15:19:34 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2021-02-18 18:57:50 +01:00
<rougail version="0.9">
2021-02-06 15:19:34 +01:00
<services>
<service name="test">
<file name="/tmp/file1" filelist="afilllist"/>
</service>
</services>
<variables>
<family name="general">
<variable name="condition" type="string" description="No change">
<value>yes</value>
</variable>
<variable name="condition2" type="string" description="No change">
<value>yes</value>
</variable>
<variable name="test_variable" type="string" description="No change" hidden="True">
<value>no</value>
</variable>
</family>
</variables>
<constraints>
<condition name="disabled_if_not_in" source="condition">
<param>yes</param>
<param>maybe</param>
<target type="variable">test_variable</target>
<target type="filelist">afilllist</target>
</condition>
<condition name="disabled_if_in" source="condition2">
<param>yes</param>
<param>maybe</param>
<target type="variable">test_variable</target>
<target type="filelist">afilllist</target>
</condition>
</constraints>
</rougail>
<!-- vim: ts=4 sw=4 expandtab
-->