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

Add absent_groups pillar to remove groups.

This commit is contained in:
Diego Woitasen 2014-03-14 20:07:22 -03:00
parent 302a466c94
commit 0e76454a16

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 %}