Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-1381

RPM should create puppet user with UID/GID 52

    XMLWordPrintable

Details

    • Froyo
    • Froyo - 4/27/2022
    • Enhancement
    • When the 'puppet' user and group are created on rpm-based systems, they are now assigned a static UID/GID of 52.

    Description

      In Fedora and Redhat, 'puppet' has been assigned a static uid of 52

      https://git.fedorahosted.org/cgit/setup.git/tree/uidgid#n61
      https://fedoraproject.org/wiki/Packaging:UsersAndGroups

      The puppet 3 package uses this uid
      https://github.com/puppetlabs/puppet/blob/master/ext/redhat/puppet.spec.erb#L284

      but puppet-server doesn't.
      https://github.com/puppetlabs/ezbake/blob/master/resources/puppetlabs/lein-ezbake/template/pe/ext/redhat/ezbake.spec.erb#L176

      (The puppet 4, puppet-agent package doesn't create a 'puppet' user).

      Having a fixed uid is useful in multi-master HA setups (where shared storage for the yamldir has been recommended.)

      Kind Regards,
      Alex

      Attachments

        Issue Links

          Activity

            People

              molly.waggett Molly Waggett
              alexjfisher Alexander Fisher
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support