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

Update the init for a fix to an ID.

This commit is contained in:
Forrest Alvarez 2014-06-18 14:46:34 -07:00
parent 2f442b1e0d
commit 43dda59694

View File

@ -113,7 +113,8 @@ user_{{ name }}_public_key:
{% endif %}
{% if 'ssh_auth' in user %}
file.managed:
user_{{ name }}_authorized_keys:
file.managed:
- name: /home/{{ name }}/.ssh/authorized_keys
- source: salt://users/files/authorized_keys.jinja
- user: {{ name }}
@ -122,7 +123,6 @@ file.managed:
- template: jinja
{% endif %}
{% if 'sudouser' in user and user['sudouser'] %}
sudoer-{{ name }}:
file.managed: