Replace deprecated iteritems() with items()

This commit is contained in:
abednarik 2015-11-22 18:57:56 -03:00
parent 52af4e1ca4
commit 384a3c56c2

View File

@ -42,7 +42,7 @@
{% if 'template' in pillar['apache']['register-site'][site] and 'defaults' in pillar['apache']['register-site'][site] %} {% if 'template' in pillar['apache']['register-site'][site] and 'defaults' in pillar['apache']['register-site'][site] %}
- template: jinja - template: jinja
- defaults: - defaults:
{% for key, value in pillar['apache']['register-site'][site]['defaults'].iteritems() %} {% for key, value in pillar['apache']['register-site'][site]['defaults'].items() %}
{{ key }}: {{ value }} {{ key }}: {{ value }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}