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: