[PUP-8518] yum check-update does not support --config (install_options) Created: 2018/03/07  Updated: 2018/05/21

Status: Accepted
Project: Puppet
Component/s: None
Affects Version/s: PUP 4.10.10
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Raymond Pettersen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: package, redhat, type_and_provider, yum
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Platform OS
Method Found: Needs Assessment
QA Risk Assessment: Needs Assessment


Puppet Version: 4.10.10
Puppet Server Version: 1.8.0
OS Name/Version: Redhat 7

install_options is ignored by yum check-update, when a custom yum.conf file is defined. This means "ensure latest" fails, because puppet does not see the latest packages from a custom repository.

Reproduced with the following package definition.

 install_options => ['--config=/etc/custom/yum.conf'],


Desired Behavior:

Desired behavior should be:

Debug: Executing: '/bin/yum --config=/etc/custom/yum.conf check-update' 

Actual Behavior:

Install option is ignored, thus puppet fails to "see" newer packages that are defined with the custom --config file.

Debug: Executing: '/bin/yum check-update'  

Generated at Mon Oct 14 06:19:44 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.