update template tests

This commit is contained in:
2020-07-08 13:18:49 +02:00
parent 8ed035c7ff
commit b021460b94
16 changed files with 137 additions and 248 deletions

View File

@ -1,52 +1,37 @@
<?xml version='1.0' encoding='UTF-8'?>
<creole>
<family name="services">
<family name="service0" doc="test">
<family doc="files" name="files">
<family doc="file0" name="file0">
<variable doc="" multi="False" name="group" type="string">
<property>mandatory</property>
<rougail>
<family name="services" doc="services">
<property>hidden</property>
<family doc="test" name="test">
<family name="files" doc="files">
<family doc="file" name="file">
<variable doc="group" multi="False" name="group" type="string">
<value>root</value>
</variable>
<variable doc="" multi="False" name="mkdir" type="boolean">
<property>mandatory</property>
<value>False</value>
</variable>
<variable doc="" multi="False" name="mode" type="string">
<property>mandatory</property>
<variable doc="mode" multi="False" name="mode" type="string">
<value>0644</value>
</variable>
<variable doc="" multi="False" name="name" type="string">
<property>mandatory</property>
<variable doc="name" multi="False" name="name" type="string">
<value>/etc/file</value>
</variable>
<variable doc="" multi="False" name="owner" type="string">
<property>mandatory</property>
<variable doc="owner" multi="False" name="owner" type="string">
<value>root</value>
</variable>
<variable doc="" multi="False" name="rm" type="boolean">
<property>mandatory</property>
<value>False</value>
</variable>
<variable doc="" multi="False" name="source" type="string">
<property>mandatory</property>
<variable doc="source" multi="False" name="source" type="string">
<value>file</value>
</variable>
<variable doc="" multi="False" name="templating" type="boolean">
<property>mandatory</property>
<variable doc="templating" multi="False" name="templating" type="boolean">
<value>True</value>
</variable>
<variable doc="" multi="False" name="activate" type="boolean">
<property>mandatory</property>
<property expected="oui" inverse="False" source="creole.general.condition" type="calculation">disabled</property>
<variable doc="activate" multi="False" name="activate" type="boolean">
<property expected="oui" inverse="False" source="rougail.general.condition" type="calculation">disabled</property>
<value>True</value>
</variable>
</family>
</family>
<property>basic</property>
</family>
</family>
<family doc="" name="creole">
<family doc="rougail" name="rougail">
<family doc="general" name="general">
<property>normal</property>
<variable doc="No change" multi="False" name="condition" type="choice">
@ -61,7 +46,7 @@
<choice type="string">non</choice>
<property>mandatory</property>
<property>normal</property>
<property expected="oui" inverse="False" source="creole.general.condition" type="calculation">disabled</property>
<property expected="oui" inverse="False" source="rougail.general.condition" type="calculation">disabled</property>
<value type="string">non</value>
</variable>
<variable doc="No change" multi="False" name="mode_conteneur_actif2" type="choice">
@ -69,10 +54,10 @@
<choice type="string">non</choice>
<property>mandatory</property>
<property>normal</property>
<property expected="oui" inverse="False" source="creole.general.condition" type="calculation">disabled</property>
<property expected="oui" inverse="False" source="rougail.general.condition" type="calculation">disabled</property>
<value type="string">non</value>
</variable>
</family>
<separators/>
</family>
</creole>
</rougail>

View File

@ -1,2 +1,2 @@
C /etc/file 0644 root root - -
C /etc/file 0644 root root - rougail.conf/etc/file
z /etc/file - - - - -