diff --git a/openssh/auth.sls b/openssh/auth.sls index 50a52b0..a7980c9 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.items() -%} +{%- for identifier,keys in auth.iteritems() -%} {%- for key in keys -%} {% if 'present' in key and key['present'] %} {{ print_name(identifier, key) }}: