mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-10-07 03:28:16 +02:00
Update the init for a fix to an ID.
This commit is contained in:
1 parent
2f442b1e0d
commit
43dda59694
1 file changed
+2
-2
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user