mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-08 16:32:15 +02:00
Replaced iteritems deprecated function with items
This commit is contained in:
1 parent
c5aaffa9a9
commit
b813b4b52a
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ include:
|
|||||||
{%- from "openssh/map.jinja" import openssh with context -%}
|
{%- from "openssh/map.jinja" import openssh with context -%}
|
||||||
{%- set openssh_pillar = pillar.get('openssh', {}) -%}
|
{%- set openssh_pillar = pillar.get('openssh', {}) -%}
|
||||||
{%- set auth = openssh_pillar.get('auth', {}) -%}
|
{%- set auth = openssh_pillar.get('auth', {}) -%}
|
||||||
{%- for identifier,keys in auth.iteritems() -%}
|
{%- for identifier,keys in auth.items() -%}
|
||||||
{%- for key in keys -%}
|
{%- for key in keys -%}
|
||||||
{% if 'present' in key and key['present'] %}
|
{% if 'present' in key and key['present'] %}
|
||||||
{{ print_name(identifier, key) }}:
|
{{ print_name(identifier, key) }}:
|
||||||
|
|||||||
Reference in new issue
Block a user