Browse Source

Fixed indentation in key contents for authorized_keys

tags/v0.45.0
Shane Poage 9 years ago
parent
commit
a0d7d9fa6e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      users/init.sls

+ 3
- 3
users/init.sls View File

@@ -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 %}


Loading…
Cancel
Save