diff --git a/apache/certificates.sls b/apache/certificates.sls index 1bee119..ce9ffa2 100644 --- a/apache/certificates.sls +++ b/apache/certificates.sls @@ -3,7 +3,7 @@ include: - 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 %} # Deploy {{ site }} key file