Browse Source

Sorry for the spam, simplify this remove_groups rule a bit

lookup-fix-3
Jason Wolfe 10 years ago
parent
commit
9a71d78d2b
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      users/init.sls

+ 1
- 5
users/init.sls View File

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

Loading…
Cancel
Save