瀏覽代碼

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

Re-add ability to set shell per-user
lookup-fix-3
Nitin Madhok 10 年之前
父節點
當前提交
f2e98a5b53
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls 查看文件

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

Loading…
取消
儲存