From 7b7ee3f2f8752a4fdcbd53140be3a529623d436b Mon Sep 17 00:00:00 2001 From: "J. Random Hacker" Date: Thu, 8 Aug 2013 13:42:55 +0200 Subject: [PATCH] Fix requisites for user state group requisites were wrong. They required {{ group }}_group, while {{ group }} was the actually added group. --- users/init.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users/init.sls b/users/init.sls index 1349161..3e40f1e 100644 --- a/users/init.sls +++ b/users/init.sls @@ -39,12 +39,12 @@ include: - groups: - {{ name }} {% for group in user.get('groups', []) %} - - {{ group }}_group + - {{ group }} {% endfor %} - require: - - group: {{ name }}_user + - group: {{ name }} {% for group in user.get('groups', []) %} - - group: {{ group }}_group + - group: {{ group }} {% endfor %} user_keydir_{{ name }}: