瀏覽代碼

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 年之前
父節點
當前提交
b07d21f4c6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      users/init.sls

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

@@ -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…
取消
儲存