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

puppet resource user may show double groups

    Details

    • Template:
      PUP Bug Template
    • Sub-team:
    • Team:
      Platform Core
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      The 'puppet resource user' now only lists a unique set of groups for a user. Even when a user is in the same group from multiple sources.
    • QA Risk Assessment:
      Manual

      Description

      Systems with complex, and overlapping, user lookups may double list a user's groups.

      For example:

      $ puppet resource user riehecky
      

      user { 'riehecky':
        ensure           => 'present',
        comment          => 'Patrick Riehecky',
        gid              => '100',
        groups           => ['wheel', 'mock', 'staff', 'wheel', 'mock', 'staff'],
        home             => '/home/r/riehecky',
        shell            => '/bin/bash',
        uid              => '10000',
      }
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jcpunk Pat Riehecky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: