[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

CentOS 7 very minimal installation (docker centos:7)

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


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

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 Sat Jan 25 01:35:47 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.