Commit 6220ce2f authored by Thomas Leymonerie's avatar Thomas Leymonerie

stack/nxdtest: Remove default jinja2-template:url

This default prevented extending the section with `inline` option
because `inline` and `url` conflict. This was not a problem when
the deprecated `template` or `template = inline:` option was used.

Setting `url = < nothing >` does not resolve the conflict currently.

Since all section that extend `jinja2-template` set their own `url`
or `inline`, the default value was never used anyway.

The default `filename` option is also no longer needed.
parent 88f0bcd5
Pipeline #21230 failed with stage
in 0 seconds
...@@ -37,12 +37,10 @@ extends = ...@@ -37,12 +37,10 @@ extends =
[jinja2-template] [jinja2-template]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/${:_buildout_section_name_} output = ${buildout:directory}/${:_buildout_section_name_}
mode = 0644 mode = 0644
context = context =
section buildout buildout section buildout buildout
filename = inline
[nxdtest-instance.cfg] [nxdtest-instance.cfg]
<= jinja2-template <= jinja2-template
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment