Explorar el Código

Use iteritems() instead of items().

Signed-off-by: René Jochum <rene@jochums.at>
tags/v0.41.0
René Jochum hace 9 años
padre
commit
a013b79027
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      openssh/auth.sls

+ 1
- 1
openssh/auth.sls Ver fichero

@@ -3,7 +3,7 @@ include:
{%- from "openssh/map.jinja" import openssh with context -%}
{%- set openssh_pillar = pillar.get('openssh', {}) -%}
{%- set auth = openssh_pillar.get('auth', {}) -%}
{%- for user,keys in auth.items() -%}
{%- for user,keys in auth.iteritems() -%}
{%- for key in keys -%}
{% if 'present' in key and key['present'] %}
{{ key['name'] }}:

Cargando…
Cancelar
Guardar