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

User resource difference in functionality between rhel 7 and 8

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • None
    • None
    • Night's Watch
    • Needs Assessment
    • 46670
    • 1
    • Needs Assessment

    Description

      Puppet version: 6.22.1 (PE Agent from PE 2019.8.6)
      Puppet Server Version: 6.15.3
      OS Name/Version: rhel 7 and rhel 8

      In this case, both systems have a local and domain user called administrator, in rhel 8 this results in corrective changes on each run as it tries to manage the domain user whereas this seems to be ignored on the rhel 7 box, and only the local user is managed.

      Desired Behaviour: Behaviour is consistent across OS versions. What that should be, I'm not exactly sure, should the local user take precedence in this case?

      Actual Behaviour: rhel 7, puppet only acts on the local user, rhel 8 has a corrective change on every run as it manages the domain administrator:

      Dec 7 13:01:43 <hostname> puppet-agent[18320]: (/Stage[main]/Profile::Base/User[administrator]/uid) change from 1553200500 to 1000 failed: Could not set uid on user[administrator]: Execution of '/usr/sbin/usermod -u 1000 administrator' returned 4: usermod: UID '1000' already exists (corrective)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              patrick.grant Patrick Grant
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support