Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 7.4.0, PUP 6.21.0
-
Enhancement
-
Document `manages_local_users_and_groups` feature in `user` and `group` resource types
-
Needs Assessment
Description
user Provider Features do not list "manages local users and groups" as supported for the useradd provider. However, the useradd source clearly lists:
has_feature :manages_local_users_and_groups if Puppet.features.libuser?
Similarly, group Provider Features do not have "manages local users and groups" and "manages members" for groupadd provider. The groupadd source states:
has_feature :manages_local_users_and_groups, :manages_members if Puppet.features.libuser?.
The underlying issue seems to be with how the feature matrices get generated, where any conditions exist - such as useradd's has_features :manages_passwords, :manages_password_age if Puppet.features.libshadow?.
I would rather have the information listed as-is ("if Puppet.features.libuser?") even if it is not formatted nicely ("requires libuser"), over the current situation where the compatibility matrix just leaves the cell empty without any indication it could be supported.