Browse Source

Merge pull request #54 from JaseFace/master

Add options for remove_groups and default to false
lookup-fix-3
Nitin Madhok 10 years ago
parent
commit
19b70214fc
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      users/init.sls

+ 5
- 0
users/init.sls View File

@@ -58,6 +58,11 @@
{% if not user.get('createhome', True) %}
- createhome: False
{% endif %}
{% if user.get('remove_groups', True) %}
- remove_groups: True
{% else %}
- remove_groups: False
{% endif %}
- groups:
- {{ user_group }}
{% for group in user.get('groups', []) -%}

Loading…
Cancel
Save