Jinja error: argument of type 'StrictUndefined' is not iterable Traceback (most recent call last)
root@salt:~# salt gw03.legacy.aixit.off.de.ffffm.net state.apply gw03.legacy.aixit.off.de.ffffm.net: Data failed to compile:
Rendering SLS 'base:kea-dhcp' failed: Jinja error: argument of type 'StrictUndefined' is not iterable
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 413, in render_jinja_tmpl output = template.render(**decoded_context) File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "", line 15, in top-level template code TypeError: argument of type 'StrictUndefined' is not iterable
; line 15
[...] {% if 'IPv6' in domain %} {% set hasv6 = true %} {% endif %} {% endfor %}
{% if hasv4 or 'IPv4' in dhcp %} <======================
kea-dhcp4-server: pkg.installed: - pkgs: - kea-dhcp4-server [...]
ERROR: Minions returned with non-zero exit code