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

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

    XMLWordPrintable

Details

    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support