From 923b4600f13f4ce6d8fcdc7ec016ecd0ce4755d4 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 24 Jul 2019 08:22:31 +0100 Subject: [PATCH] fix(init): replace `gid_from_name` (deprecated in `develop`) * Close #198 * All details in that issue * Solution based upon: - https://github.com/saltstack-formulas/vault-formula/pull/35#issuecomment-509854411 --- users/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index abbf980..19c8e8e 100644 --- a/users/init.sls +++ b/users/init.sls @@ -144,7 +144,7 @@ users_{{ name }}_user: {% elif 'prime_group' in user and 'name' in user['prime_group'] %} - gid: {{ user['prime_group']['name'] }} {% else -%} - - gid_from_name: True + - gid: {{ name }} {% endif -%} {% if 'fullname' in user %} - fullname: {{ user['fullname'] }}