[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 to PUP-9198 Add support for RHEL 8 in package pro... Closed
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


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.

Comment by Gheorghe Popescu [ 2019/05/30 ]


Comment by Josh Cooper [ 2019/06/03 ]

Merged to 6.0.x in 84d01fd4b1c01dd985e93a855447387f2edc7bac

Generated at Fri Jun 05 20:03:29 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.