浏览代码

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 %}

正在加载...
取消
保存