From a899ee85ec5bbeb8d94066d62b37ab846aa067a0 Mon Sep 17 00:00:00 2001 From: Jason Wolfe Date: Tue, 14 Oct 2014 17:53:12 -0700 Subject: [PATCH] Make sure the logic stands after the default in salt is changed --- users/init.sls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index 1efd969..30ea466 100644 --- a/users/init.sls +++ b/users/init.sls @@ -58,7 +58,9 @@ {% if not user.get('createhome', True) %} - createhome: False {% endif %} - {% if not user.get('remove_groups', True) %} + {% if user.get('remove_groups', True) %} + - remove_groups: True + {% else %} - remove_groups: False {% endif %} - groups: