瀏覽代碼

Fixed user default shell source

Pulling 'shell' from pillar globally makes no sense, probably a mistake; pulling it from user instead.
tags/v0.45.0
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…
取消
儲存