瀏覽代碼

Fix warning in salt v3003

The 'gid_from_name' argument in the user.present state has been replaced
with 'usergroup'. Update your SLS file to get rid of this warning.
pull/223/head
Bruno Binet 3 年之前
父節點
當前提交
316ea6c462
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      linux/system/user.sls

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

@@ -49,7 +49,7 @@ system_user_{{ name }}:
{%- if user.gid is defined and user.gid %}
- gid: {{ user.gid }}
{%- else %}
- gid_from_name: true
- gid: {{ name }}
{%- endif %}
{%- if user.groups is defined %}
- groups: {{ user.groups }}

Loading…
取消
儲存