Merge pull request #53 from abednarik/replace_deprecated_function_iteritems

Replaced iteritems deprecated function with items
This commit is contained in:
Nitin Madhok 2015-11-30 07:31:35 -05:00
commit d14f8db721

View File

@ -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) }}: