salt.modules.pw_group

Manage groups on FreeBSD

salt.modules.pw_group.add(name, gid=None, system=False)

Add the specified group

CLI Example:

salt '*' group.add foo 3456
salt.modules.pw_group.chgid(name, gid)

Change the gid for a named group

CLI Example:

salt '*' group.chgid foo 4376
salt.modules.pw_group.delete(name)

Remove the named group

CLI Example:

salt '*' group.delete foo
salt.modules.pw_group.getent()

Return info on all groups

CLI Example:

salt '*' group.getent
salt.modules.pw_group.info(name)

Return information about a group

CLI Example:

salt '*' group.info foo

Previous topic

salt.modules.puppet

Next topic

salt.modules.pw_user