From 9a71d78d2bb7f0c5dfc6b33c47604fba9d2a699c Mon Sep 17 00:00:00 2001 From: Jason Wolfe Date: Tue, 14 Oct 2014 19:05:00 -0700 Subject: [PATCH] Sorry for the spam, simplify this remove_groups rule a bit --- users/init.sls | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/users/init.sls b/users/init.sls index 30ea466..92f940d 100644 --- a/users/init.sls +++ b/users/init.sls @@ -58,11 +58,7 @@ {% if not user.get('createhome', True) %} - createhome: False {% endif %} - {% if user.get('remove_groups', True) %} - - remove_groups: True - {% else %} - - remove_groups: False - {% endif %} + - remove_groups: {{ user.get('remove_groups', 'False') }} - groups: - {{ user_group }} {% for group in user.get('groups', []) -%}