From 316ea6c462694e9c01f05b841d0753c44732bc4b Mon Sep 17 00:00:00 2001 From: Bruno Binet Date: Mon, 24 May 2021 11:51:18 +0200 Subject: [PATCH] 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. --- linux/system/user.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/system/user.sls b/linux/system/user.sls index 72563024..b78684d0 100644 --- a/linux/system/user.sls +++ b/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 }}