voxpupuli / puppet-epel

Setup/configure EPEL (extra repository for enterprise linux) with Puppet
Apache License 2.0
41 stars 95 forks source link

Amazon Linux 2 - bugfix - use enterprise linux 7 #95

Closed nehalrp closed 4 years ago

nehalrp commented 4 years ago

Previously it would throw a Cannot find a valid baseurl for repo: epel error as no mirrorlist nor baseurl would be populated for Amazon; this fixes that with the assumption that Amazon Linux 2 uses Enterprise Linux 7 as per AWS docs: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/

rnelson0 commented 4 years ago

@nehalrp Thank you for these fixes!