cdist/cdist/conf/type/__group/man.rst

81 lines
1.5 KiB
ReStructuredText
Raw Normal View History

cdist-type__group(7)
====================
NAME
----
cdist-type__group - Manage groups
DESCRIPTION
-----------
This cdist type allows you to create or modify groups on the target.
REQUIRED PARAMETERS
-------------------
None.
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
state
absent or present, defaults to present
2016-05-20 06:50:56 +00:00
gid
see groupmod(8)
2016-05-20 06:50:56 +00:00
password
see above
BOOLEAN PARAMETERS
------------------
2016-05-20 06:50:56 +00:00
system
see groupadd(8), apply only on group creation
MESSAGES
--------
2016-05-20 06:50:56 +00:00
mod
group is modified
2016-05-20 06:50:56 +00:00
add
New group added
2016-05-20 06:50:56 +00:00
remove
group is removed
2016-05-20 06:50:56 +00:00
change <property> <new_value> <current_value>
Changed group property from current_value to new_value
2016-05-20 06:50:56 +00:00
set <property> <new_value>
2016-05-13 20:44:54 +00:00
set property to new value, property was not set before
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
# Create a group 'foobar' with operating system default settings
__group foobar
2016-05-20 06:50:56 +00:00
# Remove the 'foobar' group
__group foobar --state absent
2016-05-20 06:50:56 +00:00
# Create a system group 'myservice' with operating system default settings
__group myservice --system
2016-05-20 06:50:56 +00:00
# Same but with a specific gid
__group foobar --gid 1234
2016-05-20 06:50:56 +00:00
# Same but with a gid and password
__group foobar --gid 1234 --password 'crypted-password-string'
AUTHORS
-------
Steven Armstrong <steven-cdist--@--armstrong.cc>
COPYING
-------
2016-08-10 16:15:54 +00:00
Copyright \(C) 2011-2015 Steven Armstrong. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.