test patch with jinja2
This commit is contained in:
parent
0be7a72d28
commit
b094e5a6ca
|
@ -4,6 +4,7 @@
|
||||||
<services>
|
<services>
|
||||||
<service name="test">
|
<service name="test">
|
||||||
<file>/etc/file</file>
|
<file>/etc/file</file>
|
||||||
|
<file engine="jinja2">/etc/file2</file>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"rougail.general.mode_conteneur_actif": "non", "services.test.files.file.engine": "creole", "services.test.files.file.group": "root", "services.test.files.file.include": "no", "services.test.files.file.mode": "0644", "services.test.files.file.name": "/etc/file", "services.test.files.file.owner": "root", "services.test.files.file.source": "file", "services.test.files.file.activate": true}
|
{"rougail.general.mode_conteneur_actif": "non", "services.test.files.file.engine": "creole", "services.test.files.file.group": "root", "services.test.files.file.include": "no", "services.test.files.file.mode": "0644", "services.test.files.file.name": "/etc/file", "services.test.files.file.owner": "root", "services.test.files.file.source": "file", "services.test.files.file.activate": true, "services.test.files.file2.engine": "jinja2", "services.test.files.file2.group": "root", "services.test.files.file2.include": "no", "services.test.files.file2.mode": "0644", "services.test.files.file2.name": "/etc/file2", "services.test.files.file2.owner": "root", "services.test.files.file2.source": "file2", "services.test.files.file2.activate": true}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
--- tmpl/file2 2020-11-20 07:44:38.588472784 +0100
|
||||||
|
+++ dest/file2 2020-11-20 07:44:54.588536011 +0100
|
||||||
|
@@ -1 +1 @@
|
||||||
|
-unpatched
|
||||||
|
+patched
|
|
@ -0,0 +1 @@
|
||||||
|
patched
|
|
@ -1,2 +1,4 @@
|
||||||
C /etc/file 0644 root root - /usr/local/lib/etc/file
|
C /etc/file 0644 root root - /usr/local/lib/etc/file
|
||||||
z /etc/file - - - - -
|
z /etc/file - - - - -
|
||||||
|
C /etc/file2 0644 root root - /usr/local/lib/etc/file2
|
||||||
|
z /etc/file2 - - - - -
|
||||||
|
|
|
@ -23,7 +23,16 @@ option_13 = StrOption(name="owner", doc="owner", default="root")
|
||||||
option_14 = StrOption(name="source", doc="source", default="file")
|
option_14 = StrOption(name="source", doc="source", default="file")
|
||||||
option_15 = BoolOption(name="activate", doc="activate", default=True)
|
option_15 = BoolOption(name="activate", doc="activate", default=True)
|
||||||
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
|
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
|
||||||
option_6 = OptionDescription(name="files", doc="files", children=[option_7])
|
option_17 = StrOption(name="engine", doc="engine", default="jinja2")
|
||||||
|
option_18 = StrOption(name="group", doc="group", default="root")
|
||||||
|
option_19 = StrOption(name="include", doc="include", default="no")
|
||||||
|
option_20 = StrOption(name="mode", doc="mode", default="0644")
|
||||||
|
option_21 = FilenameOption(name="name", doc="name", default="/etc/file2")
|
||||||
|
option_22 = StrOption(name="owner", doc="owner", default="root")
|
||||||
|
option_23 = StrOption(name="source", doc="source", default="file2")
|
||||||
|
option_24 = BoolOption(name="activate", doc="activate", default=True)
|
||||||
|
option_16 = OptionDescription(name="file2", doc="file2", children=[option_17, option_18, option_19, option_20, option_21, option_22, option_23, option_24])
|
||||||
|
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_16])
|
||||||
option_5 = OptionDescription(name="test", doc="test", children=[option_6])
|
option_5 = OptionDescription(name="test", doc="test", children=[option_6])
|
||||||
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
|
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
|
||||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])
|
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
unpatched
|
Loading…
Reference in New Issue