Version information
released Jan 11th 2021
This version is compatible with:
- Puppet Enterprise 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'eyp-epel', '3.1415.92'
Learn more about managing modules with a PuppetfileDocumentation
eyp/epel — version 3.1415.92 Jan 11th 2021
epel
Table of Contents
Overview
Enables EPEL repository
Module Description
This module enables the EPEL repository for RHEL 6 and 7 and derivatives. It will also update ca-certificates on the first run, checking for updates daily.
Setup
What epel affects
- Installs a package called epel-release
- Updates ca-certificates
- Manages main epel repo
Beginning with epel
Just include epel class to have it configured with the defaults:
class { 'epel': }
Usage
Install epel
class { 'epel':
}
Disable EPEL
class { 'epel':
main_enabled => false,
}
Force especific mirror for EPEL
Use main_baseurl option to force a specific mirror:
class { 'epel':
main_baseurl => "https://dl.fedoraproject.org/pub/epel/7/\$basearch",
}
Generated yum repo will look like this:
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=https://dl.fedoraproject.org/pub/epel/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Reference
epel
- ensure: Used to manage the epel-release package (default: installed)
- manage_ca_certificates: update ca-certificates (needed to install EPEL) (default: true)
- manage_gpg: Flag to enable/disable managing GPG keys (default: true)
- manage_main_repo: Whether to manage the main epel repo (default: true)
- main_enabled: Whether to have the main epel repo enabled or not (default: true)
- main_baseurl: Base URL for a specific mirror (default: not set)
- main_metalink: Where to get mirror list from (default: from mirrors.fedoraproject.org)
- main_failovermethod: Failover method (default: priority)
- main_proxy: Proxy usage (default: not set)
- main_gpgcheck: Whether to check GPG (default: true)
- main_gpgkey: Location of GPG keys (default: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${epel::params::os_maj_release})
- main_description: Main EPEL repo description (default: "Extra Packages for Enterprise Linux ${epel::params::os_maj_release} - \$basearch")
- main_exclude: Package exclude list (default: undef)
- main_include: Package include list (default: undef)
- main_sslclientkey: SSL client key (default: undef)
- main_sslclientcert: SSL client cert (default: undef)
CHANGELOG
3.1415.92
- fixed download links
3.141.592
- added support for CentOS 8 / RHEL 8
3.14.1592
- minor changes
3.14.159
- dropped CentOS 5 support
3.14.15
- main EPEL repo management
3.1.22
- metadata lint
3.1.21
- bugfix
3.1.19
- params.pp lint
- updated documentation
3.1.18
- yum check-update executed only once a day on puppet version >= 3.8
Dependencies
- puppetlabs/stdlib (>= 1.0.0 < 9.9.9)
- eyp/eyplib (>= 1.0.0 < 9.9.9)