Fixed indentation in key contents for authorized_keys

This commit is contained in:
Shane Poage 2015-08-21 11:20:07 -05:00
parent ff189c1613
commit a0d7d9fa6e

View File

@ -173,7 +173,7 @@ users_authorized_keys_{{ name }}:
{% endfor -%}
{% else %}
- contents: |
{%- for key_name, pillar_name in user['ssh_auth_pillar'].items() %}
{%- for key_name, pillar_name in user['ssh_auth_pillar'].iteritems() %}
{{ salt['pillar.get'](pillar_name + ':' + key_name + ':pubkey', '') }}
{%- endfor %}
{% endif %}