diff --git a/users/init.sls b/users/init.sls index be0471f..17a5ca7 100644 --- a/users/init.sls +++ b/users/init.sls @@ -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 %} +