mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-27 22:38:34 +01:00
Fixed user default shell source
Pulling 'shell' from pillar globally makes no sense, probably a mistake; pulling it from user instead.
This commit is contained in:
parent
7b7ee3f2f8
commit
b07d21f4c6
@ -28,7 +28,7 @@ include:
|
||||
user.present:
|
||||
- name: {{ name }}
|
||||
- home: {{ home }}
|
||||
- shell: {{ pillar.get('shell', '/bin/bash') }}
|
||||
- shell: {{ user.get('shell', '/bin/bash') }}
|
||||
{% if 'uid' in user -%}
|
||||
- uid: {{ user['uid'] }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user