0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-28 00:48:22 +01:00

Make sure the logic stands after the default in salt is changed

This commit is contained in:
Jason Wolfe 2014-10-14 17:53:12 -07:00
parent 2a464d3dc3
commit a899ee85ec

View File

@ -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: