Browse Source

Merge pull request #20 from diegows/master

Add absent_groups pillar to remove groups.
lookup-fix-3
Joseph Hall 10 years ago
parent
commit
16c2d53ea6
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      users/init.sls

+ 6
- 0
users/init.sls View File

@@ -151,3 +151,9 @@ sudoer-{{ name }}:
file.absent:
- name: /etc/sudoers.d/{{ user }}
{% endfor %}

{% for group in pillar.get('absent_groups', []) %}
{{ group }}:
group.absent
{% endfor %}


Loading…
Cancel
Save