<file> is not necessarily a template + add <override> tag to override systemd service
This commit is contained in:
41
tests/templates/20override/00-base.xml
Normal file
41
tests/templates/20override/00-base.xml
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<creole>
|
||||
<family name="services">
|
||||
<family name="service0" doc="test">
|
||||
<family doc="overrides" name="overrides">
|
||||
<family doc="override0" name="override0">
|
||||
<variable doc="" multi="False" name="name" type="string">
|
||||
<property>mandatory</property>
|
||||
<value>test.service</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="source" type="string">
|
||||
<property>mandatory</property>
|
||||
<value>test.service</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="templating" type="boolean">
|
||||
<property>mandatory</property>
|
||||
<value>True</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/20override/result/rougail.conf
Normal file
1
tests/templates/20override/result/rougail.conf
Normal file
@ -0,0 +1 @@
|
||||
|
@ -0,0 +1 @@
|
||||
non
|
1
tests/templates/20override/tmpl/test.service
Normal file
1
tests/templates/20override/tmpl/test.service
Normal file
@ -0,0 +1 @@
|
||||
%%mode_conteneur_actif
|
Reference in New Issue
Block a user