Merge pull request #20 from diegows/master

Add absent_groups pillar to remove groups.
This commit is contained in:
Joseph Hall 2014-03-15 06:43:28 -06:00
commit 16c2d53ea6
1 changed files with 6 additions and 0 deletions

View File

@ -151,3 +151,9 @@ sudoer-{{ name }}:
file.absent: file.absent:
- name: /etc/sudoers.d/{{ user }} - name: /etc/sudoers.d/{{ user }}
{% endfor %} {% endfor %}
{% for group in pillar.get('absent_groups', []) %}
{{ group }}:
group.absent
{% endfor %}