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

Windows group's "members changed" message is misleading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PUP 4.8.1
    • Fix Version/s: None
    • Labels:
    • Template:
    • QA Risk Assessment:
      Needs Assessment

      Description

      When managing groups and their membership on Windows, the output of the Puppet run is misleading.

      Base on that output, you'd think that Puppet just changed the Administrators group to contain only the members bob and sally. But you'd be wrong! Puppet just added bob and sally to the group.

      This is the code that was run to generate the screenshot:

      group { 'Administrators':
        ensure          => present,
        members         => ['bob', 'sally'],
        auth_membership => false,
      }
      

      I'd expect that setting auth_membership => true would show the output from the screenshot. And I'd expect that auth_membership => false would show the two new members being added to the existing members, not replacing them.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nate.mccurdy Nate McCurdy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support