[PUP-9724] Use yum as default provider for Amazon platforms Created: 2019/05/30  Updated: 2019/07/12  Resolved: 2019/06/06

Status: Resolved
Project: Puppet
Component/s: None
Affects Version/s: None
Fix Version/s: PUP 6.0.10, PUP 6.4.3, PUP 6.5.0

Type: Improvement Priority: Normal
Reporter: Gheorghe Popescu Assignee: Gheorghe Popescu
Resolution: Fixed Votes: 0
Labels: resolved-issue-added
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PUP-9198 Add support for RHEL 8 in package pro... Closed
Template:
Team: Night's Watch
Sprint: PR - 2019-06-12
Release Notes: Enhancement
Release Notes Summary: Yum is now the default package manager on amazon platforms
QA Risk Assessment: Needs Assessment

 Description   

Current Behaviour:

  • Due to the fact that Amazon platforms do not have a default provider set, puppet will try to assume what to use which result in trying to install packages using the `gem` provider.

Desired Behaviour:

  • Amazon platforms should use `yum` provider

This issue was introduced in PUP-9198 when the yum provider changed from being the default for all redhat osfamilies to only those with OS versions 4-7, as redhat 8 switched to dnf. One unintended consequence was yum was no longer the default provider for amazon since it's osfamily is redhat, but its OS version is 2017.03.



 Comments   
Comment by Gheorghe Popescu [ 2019/05/30 ]

https://github.com/puppetlabs/puppet/pull/7542

Comment by Josh Cooper [ 2019/06/03 ]

Merged to 6.0.x in 84d01fd4b1c01dd985e93a855447387f2edc7bac

Generated at Thu Nov 14 11:43:47 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.