0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2026-05-21 08:49:41 +02:00

Attempt fix on authorized_keys file.

This commit is contained in:
Forrest Alvarez 2014-06-23 17:02:54 -07:00
parent 43dda59694
commit 0422f5da40

View File

@ -1,6 +1,5 @@
{% for name, user in pillar.get('users', {}).items() if user.absent is not defined or not user.absent %}
{% for auth in user['ssh_auth'] %}
ssh_auth_{{ name }}_{{ loop.index0 }} {{ auth }}
{% endfor %}
{% endfor %}
{% for name, user in pillar.get('users', {}).items() if user.absent is not defined or not user.absent -%}
{% for auth in user['ssh_auth'] -%}
{{ auth }}
{% endfor -%}
{% endfor -%}