Browse Source

Merge pull request #47 from alanpearce/per-user-shell

Re-add ability to set shell per-user
lookup-fix-3
Nitin Madhok 10 years ago
parent
commit
f2e98a5b53
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls View File

user.present: user.present:
- name: {{ name }} - name: {{ name }}
- home: {{ home }} - home: {{ home }}
- shell: {{ users.get('visudo_shell', '/bin/bash') }}
- shell: {{ user.get('shell', users.get('visudo_shell', '/bin/bash')) }}
{% if 'uid' in user -%} {% if 'uid' in user -%}
- uid: {{ user['uid'] }} - uid: {{ user['uid'] }}
{% endif -%} {% endif -%}

Loading…
Cancel
Save