I had the same issue as @PhillipA above and was able to get the VM to provision. But the orchstrate step fails with:
[ERROR ] Rendering exception occurred: Jinja syntax error: Encountered unknown tag '_dummy'. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'.; line 15
I had the same issue as @PhillipA above and was able to get the VM to provision. But the orchstrate step fails with:
[ERROR ] Rendering exception occurred: Jinja syntax error: Encountered unknown tag '_dummy'. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'.; line 15
---
[...]
{%- if salt['file. file_exists' ]('salt: //'+formula_ name+'/ meta/salt. yml') %} fragment_ file = formula_ name+'/ meta/salt. yml' %} fragment_ file %}{% endmacro %} file()| load_yaml %} dict.update{ formula_ name: grains_ yaml.orchestrat e }} <====== ======= ======= ==
{%- set grains_
{%- macro load_grains_file() %}{% include grains_
{%- set grains_yaml = load_grains_
{% _dummy = formula_
{%- else %}
{%- endif %}
{%- endfor %}
/srv/salt/env/{{ environment_ name}}/ orchestrate. sls: