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

Missing puppetserver RPM package dependency

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: SERVER 2.7.2
    • Fix Version/s: SERVER 5.0.0
    • Component/s: Puppet Server
    • Labels:
      None
    • Environment:
    • Template:
    • Team:
      Systems Engineering
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Previously, Puppet Server rpm package installs could fail when performed on a system where "which" has not already been installed:

        /var/tmp/rpm-tmp.P9rUht: line 12: which: command not found

      Puppet Server packages now include a requirement for "/usr/bin/which", ensuring that it will be in place when the Puppet Server as the service scripts reference it.
      Show
      Previously, Puppet Server rpm package installs could fail when performed on a system where "which" has not already been installed:   /var/tmp/rpm-tmp.P9rUht: line 12: which: command not found Puppet Server packages now include a requirement for "/usr/bin/which", ensuring that it will be in place when the Puppet Server as the service scripts reference it.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Hello,

      The command `which` is required by the `puppetserver` package to check for the `puppet` unix user:

      ```
      Installing : 1:java-1.8.0-openjdk-headless-1.8.0.121-0.b13.el7_3.x86_64 12/13
      /var/tmp/rpm-tmp.P9rUht: line 12: which: command not found
      useradd: invalid shell '--comment'
      Installing : puppetserver-2.7.2-1.el7.noarch 13/13
      warning: user puppet does not exist - using root
      [....]
      warning: user puppet does not exist - using root
      install: invalid user 'puppet'
      ```

      Since this command is shipped by the `which` package, please add this as a dependency of the `puppetserver` package.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Leryan Florent Peterschmitt
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support