Skip to content
Snippets Groups Projects
Commit 4d5168a5 authored by Thomas Bellman's avatar Thomas Bellman
Browse files

Fix to documentation of usermgmt::useraccount.

The documentation comment of the usermgmt::useraccount definition
was still talking about the old global $user_enabling_groups variable,
instead of the usermgmt::config parameter of the same name.  Fix this.
parent b1d4eed5
No related branches found
No related tags found
No related merge requests found
......@@ -15,11 +15,10 @@
* - The 'ensure' parameter must be set to 'enabled'.
*
* - In addition, the user must belong to one of the groups listed in
* the (node-)global variable $user_enabling_groups, or in the variable
* $usermgmt::config::default_enabling_groups. (Note that the primary
* group of users, i.e. the one with the same name as the user, is also
* usable in this list.) The wildcard group "*" matches any group
* (including the primary group).
* the enabling_groups parameter of usermgmt::config. (Note that the
* primary group of users, i.e. the one with the same name as the user,
* is also usable in this list.) The wildcard group "*" matches any
* group (including the primary group).
*
* Negative entries, on the form "-group", means to disable users who
* are members of that group. The negative wildcard "-*" can also be
......@@ -74,7 +73,7 @@
*
* - ensure One of "enabled", "disabled", "absent", or "disable_existing".
* Modified based on the value of the $groups parameter
* and the global variable $user_enabling_groups (see above).
* and the $usermgmt::config::enabling_groups setting (see above).
* - enabled
* Create user normally. Note though that this does not
* automatically enable the user to log in; root must
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment