From fe9407df47b4f421a8eae8bfaa4b63d65a874a66 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Wed, 7 Mar 2018 21:05:22 +0100 Subject: [PATCH] replace iteritems with items --- apache/certificates.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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