replace iteritems with items

This commit is contained in:
Niels Abspoel 2018-03-07 21:05:22 +01:00
parent f1514dab84
commit fe9407df47

View File

@ -3,7 +3,7 @@
include: include:
- apache - apache
{%- for site, confcert in salt['pillar.get']('apache:sites', {}).iteritems() %} {%- for site, confcert in salt['pillar.get']('apache:sites', {}).items() %}
{% if confcert.SSLCertificateKeyFile is defined and confcert.SSLCertificateKeyFile_content is defined %} {% if confcert.SSLCertificateKeyFile is defined and confcert.SSLCertificateKeyFile_content is defined %}
# Deploy {{ site }} key file # Deploy {{ site }} key file