Uploaded image for project: 'Community Package Repository'
  1. Community Package Repository
  2. CPR-400

puppetserver should depend on which on EL7

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2017/08/02
    • Component/s: Packaging
    • Labels:
      None
    • Environment:

      CentOS 7 very minimal installation (docker centos:7)

    • Template:

      Error rendering 'issue-templates-customfield'. Please contact your Jira administrators.

    • Team:
      Release Engineering
    • Story Points:
      2
    • Sprint:
      RE 2017-01-11, RE 2017-01-25
    • QA Risk Assessment:
      Needs Assessment

      Description

      In a very minimal installation of CentOS there is no which command available. this leads to a failure in the rpm scripts.

      the package should depend on the which package on EL7 based platforms.

      ...
       puppetserver       noarch       2.7.2-1.el7         puppetlabs-pc1        33 M
       
      Transaction Summary
      ================================================================================
      Reinstall  1 Package
       
      Total size: 33 M
      Installed size: 41 M
      Downloading packages:
      Running transaction check
      Running transaction test
      Transaction test succeeded
      Running transaction
      /var/tmp/rpm-tmp.ZY7ejC: line 12: which: command not found
      useradd: invalid shell '--comment'
        Installing : puppetserver-2.7.2-1.el7.noarch                              1/1 
      warning: user puppet does not exist - using root
      warning: user puppet does not exist - using root
      warning: user puppet does not exist - using root
      ...
      

        Attachments

          Activity

            People

            Assignee:
            morgan Morgan Rhodes
            Reporter:
            Raffaello Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support