Manage groups on Mac OS 10.7+
salt.modules.mac_group.add(name, gid=None, **kwargs)¶Add the specified group
CLI Example:
salt '*' group.add foo 3456
salt.modules.mac_group.chgid(name, gid)¶Change the gid for a named group
CLI Example:
salt '*' group.chgid foo 4376
salt.modules.mac_group.delete(name)¶Remove the named group
CLI Example:
salt '*' group.delete foo
salt.modules.mac_group.getent(refresh=False)¶Return info on all groups
CLI Example:
salt '*' group.getent
salt.modules.mac_group.info(name)¶Return information about a group
CLI Example:
salt '*' group.info foo
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2015.8.7