From a0d7d9fa6ec393e4ed8ee1aa554eedb66687c37e Mon Sep 17 00:00:00 2001 From: Shane Poage Date: Fri, 21 Aug 2015 11:20:07 -0500 Subject: [PATCH] Fixed indentation in key contents for authorized_keys --- users/init.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users/init.sls b/users/init.sls index 97a2d8e..47e3b36 100644 --- a/users/init.sls +++ b/users/init.sls @@ -173,9 +173,9 @@ users_authorized_keys_{{ name }}: {% endfor -%} {% else %} - contents: | - {%- for key_name, pillar_name in user['ssh_auth_pillar'].items() %} - {{ salt['pillar.get'](pillar_name + ':' + key_name + ':pubkey', '') }} - {%- endfor %} + {%- for key_name, pillar_name in user['ssh_auth_pillar'].iteritems() %} + {{ salt['pillar.get'](pillar_name + ':' + key_name + ':pubkey', '') }} + {%- endfor %} {% endif %} {% endif %}