fixed insertion of multiple authorized keys via ssh_auth_pillarmaster
@@ -217,8 +217,9 @@ users_authorized_keys_{{ name }}: | |||
{{ auth }} | |||
{% endfor -%} | |||
{% else %} | |||
- contents: | | |||
{%- for key_name, pillar_name in user['ssh_auth_pillar'].items() %} | |||
- contents_pillar: {{ pillar_name }}:{{ key_name }}:pubkey | |||
{{ salt['pillar.get'](pillar_name + ':' + key_name + ':pubkey', '') }} | |||
{%- endfor %} | |||
{% endif %} | |||
{% endif %} |