I've got the following error when running consul-template with a pillar similar to the example:
Data failed to compile:
----------
Rendering SLS 'base:consul-template.config' failed: Jinja variable 'dict object' has no attribute 'template_engine'
Adding template_engine: null to the tmpl section results in errors about the resulting None value.
template_engine: jinja causes jinja syntax errors when trying to read the go template used by consul-template.
I was able to bypass the issue by removing line 15 in consul-template/config.sls: - template: {{ tmpl.template_engine }}
I've got the following error when running consul-template with a pillar similar to the example:
Adding
template_engine: nullto thetmplsection results in errors about the resulting None value.template_engine: jinjacauses jinja syntax errors when trying to read the go template used by consul-template.I was able to bypass the issue by removing line 15 in
consul-template/config.sls:- template: {{ tmpl.template_engine }}