<file> is not necessarily a template + add <override> tag to override systemd service
This commit is contained in:
61
tests/templates/20notemplating/00-base.xml
Normal file
61
tests/templates/20notemplating/00-base.xml
Normal file
@ -0,0 +1,61 @@
|
||||
<?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>
|
||||
<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>
|
||||
<value>0644</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="name" type="string">
|
||||
<property>mandatory</property>
|
||||
<value>/etc/file</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="owner" type="string">
|
||||
<property>mandatory</property>
|
||||
<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>
|
||||
<value>file</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="templating" type="boolean">
|
||||
<property>mandatory</property>
|
||||
<value>False</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="activate" type="boolean">
|
||||
<property>mandatory</property>
|
||||
<value>True</value>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
<property>basic</property>
|
||||
</family>
|
||||
</family>
|
||||
<family doc="" name="creole">
|
||||
<family doc="general" name="general">
|
||||
<property>normal</property>
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="choice">
|
||||
<choice type="string">oui</choice>
|
||||
<choice type="string">non</choice>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value type="string">non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
</family>
|
||||
</creole>
|
1
tests/templates/20notemplating/result/etc/file
Normal file
1
tests/templates/20notemplating/result/etc/file
Normal file
@ -0,0 +1 @@
|
||||
%%condition
|
2
tests/templates/20notemplating/result/rougail.conf
Normal file
2
tests/templates/20notemplating/result/rougail.conf
Normal file
@ -0,0 +1,2 @@
|
||||
C /etc/file 0644 root root - -
|
||||
z /etc/file - - - - -
|
1
tests/templates/20notemplating/tmpl/file
Normal file
1
tests/templates/20notemplating/tmpl/file
Normal file
@ -0,0 +1 @@
|
||||
%%condition
|
Reference in New Issue
Block a user