[CPR-400] puppetserver should depend on which on EL7 Created: 2017/01/06  Updated: 2017/12/28  Resolved: 2017/12/28

Status: Closed
Project: Community Package Repository
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 2017/08/02

Type: Improvement Priority: Normal
Reporter: Thomas Mueller Assignee: Morgan Rhodes
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
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
...



 Comments   
Comment by Morgan Rhodes [ 2017/01/12 ]

Thomas Mueller This has been updated in our packaging tools and will be fixed in the next release. Thanks for the report!

Generated at Tue Jul 14 04:20:16 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.