Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10897

List "manages local users and groups" (forcelocal) provider support as "with libuser"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 7.4.0, PUP 6.21.0
    • Fix Version/s: PUP 7.11.0
    • Component/s: Docs
    • Template:
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Document `manages_local_users_and_groups` feature in `user` and `group` resource types
    • QA Risk Assessment:
      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sigv Valters Jansons
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support