0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-30 21:45:43 +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:
J. Random Hacker 2013-09-04 21:30:32 +02:00
parent 7b7ee3f2f8
commit b07d21f4c6

View File

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