From b813b4b52ae86487aeb72a770bcef8a48e1734b0 Mon Sep 17 00:00:00 2001 From: abednarik Date: Mon, 30 Nov 2015 09:25:28 -0300 Subject: [PATCH] Replaced iteritems deprecated function with items --- openssh/auth.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssh/auth.sls b/openssh/auth.sls index a7980c9..50a52b0 100644 --- a/openssh/auth.sls +++ b/openssh/auth.sls @@ -32,7 +32,7 @@ include: {%- from "openssh/map.jinja" import openssh with context -%} {%- set openssh_pillar = pillar.get('openssh', {}) -%} {%- set auth = openssh_pillar.get('auth', {}) -%} -{%- for identifier,keys in auth.iteritems() -%} +{%- for identifier,keys in auth.items() -%} {%- for key in keys -%} {% if 'present' in key and key['present'] %} {{ print_name(identifier, key) }}: