jenkins-rel: fix templating for Jinja 2.x
The scap/templates/override.conf.j2
template failed when doing the
config deployment:
Unhandled error: deploy-local failed: { 'lineno': 14, 'name': 'conf/jenkins.service.d/override.conf', 'filename': None, 'source': '<snip template content', 'translated': True}
scap does not show the actual message, but line 14 is:
{%- if keep_undefined_parameters is true %}
That comes from 10f309b6 which I have tested with Jinja 3 while scap has Jinja 2 which does not have a test for 'true'. Trying locally gave me the actual error message:
jinja2.exceptions.TemplateAssertionError: no test named 'true'
Replace the test with ==
.