瀏覽代碼

change gid_from_name to false to user present

saltstack 2017.7 is failing to create user when default group for user is not present, commit which changes this behavior from 2016.3 is a18dbe0c11

Change-Id: I478d632e8aa7303ab2ee32b033478148c18c473d
pull/148/merge
Ondrej Smola 6 年之前
父節點
當前提交
15e10dd7cf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      linux/system/user.sls

+ 1
- 1
linux/system/user.sls 查看文件

@@ -29,7 +29,7 @@ system_user_{{ name }}:
- password: {{ user.password }}
- hash_password: {{ user.get('hash_password', False) }}
{% endif %}
- gid_from_name: true
- gid_from_name: false
{%- if user.groups is defined %}
- groups: {{ user.groups }}
{%- endif %}

Loading…
取消
儲存