1CDIST-TYPE__GROUP(7) cdist CDIST-TYPE__GROUP(7)
2
3
4
6 cdist-type__group - Manage groups
7
9 This cdist type allows you to create or modify groups on the target.
10
12 None.
13
15 state absent or present, defaults to present
16
17 gid see groupmod(8)
18
19 password
20 see above
21
23 system see groupadd(8), apply only on group creation
24
26 mod group is modified
27
28 add New group added
29
30 remove group is removed
31
32 change <property> <new_value> <current_value>
33 Changed group property from current_value to new_value
34
35 set <property> <new_value>
36 set property to new value, property was not set before
37
39 # Create a group 'foobar' with operating system default settings
40 __group foobar
41
42 # Remove the 'foobar' group
43 __group foobar --state absent
44
45 # Create a system group 'myservice' with operating system default settings
46 __group myservice --system
47
48 # Same but with a specific gid
49 __group foobar --gid 1234
50
51 # Same but with a gid and password
52 __group foobar --gid 1234 --password 'crypted-password-string'
53
55 Steven Armstrong <steven-cdist--@--armstrong.cc>
56
58 Copyright (C) 2011-2015 Steven Armstrong. You can redistribute it
59 and/or modify it under the terms of the GNU General Public License as
60 published by the Free Software Foundation, either version 3 of the Li‐
61 cense, or (at your option) any later version.
62
64 ungleich GmbH 2020
65
66
67
68
696.9.6 Apr 20, 2021 CDIST-TYPE__GROUP(7)