1CDIST-TYPE__USER_GROUPS(7)           cdist          CDIST-TYPE__USER_GROUPS(7)
2
3
4

NAME

6       cdist-type__user_groups - Manage user groups
7

DESCRIPTION

9       Adds or removes a user from one or more groups.
10

REQUIRED PARAMETERS

12       group  the group to which this user should be added or removed.  Can be
13              specified multiple times.
14

OPTIONAL PARAMETERS

16       user   the name of the user. Defaults to object_id
17
18       state  absent or present. Defaults to present.
19

EXAMPLES

21          __user_groups nginx --group webuser1 --group webuser2
22
23          # remove user nginx from groups webuser2
24          __user_groups nginx-webuser2 --user nginx \
25             --group webuser2 --state absent
26

AUTHORS

28       Steven Armstrong <steven-cdist--@--armstrong.cc>
29

COPYING

31       Copyright (C) 2012 Steven Armstrong. You  can  redistribute  it  and/or
32       modify  it  under  the  terms of the GNU General Public License as pub‐
33       lished by the  Free  Software  Foundation,  either  version  3  of  the
34       License, or (at your option) any later version.
35
37       ungleich GmbH 2019
38
39
40
41
426.3.0                            Dec 12, 2019       CDIST-TYPE__USER_GROUPS(7)
Impressum