Skip to content

Commit ed87fd4

Browse files
committed
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.
1 parent f3a3a6b commit ed87fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux/system/user.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ system_user_{{ name }}:
4949
{%- if user.gid is defined and user.gid %}
5050
- gid: {{ user.gid }}
5151
{%- else %}
52-
- gid_from_name: true
52+
- usergroup: true
5353
{%- endif %}
5454
{%- if user.groups is defined %}
5555
- groups: {{ user.groups }}

0 commit comments

Comments
 (0)