Browse Source

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 years ago
parent
commit
316ea6c462
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/system/user.sls

+ 1
- 1
linux/system/user.sls View File

{%- if user.gid is defined and user.gid %} {%- if user.gid is defined and user.gid %}
- gid: {{ user.gid }} - gid: {{ user.gid }}
{%- else %} {%- else %}
- gid_from_name: true
- gid: {{ name }}
{%- endif %} {%- endif %}
{%- if user.groups is defined %} {%- if user.groups is defined %}
- groups: {{ user.groups }} - groups: {{ user.groups }}

Loading…
Cancel
Save