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', []) -%}