Browse Source

Fixed user default shell source

Pulling 'shell' from pillar globally makes no sense, probably a mistake; pulling it from user instead.
lookup-fix-3
J. Random Hacker 11 years ago
parent
commit
b07d21f4c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls 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 %}

Loading…
Cancel
Save