The group module is used to create and manage unix group settings, groups can be either present or absent:
cheese:
group.present:
- gid: 7648
- system: True
- addusers:
- user1
- users2
- delusers:
- foo
cheese:
group.present:
- gid: 7648
- system: True
- members:
- foo
- bar
- user1
- user2
salt.states.group.
absent
(name)¶Ensure that the named group is absent
salt.states.group.
present
(name, gid=None, system=False, addusers=None, delusers=None, members=None)¶Ensure that a group is present