mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-07-23 22:38:39 +02: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:
+1
-1
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user