Forge Home

epel

EPEL repos management

45,445 downloads

1,073 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 3.1415.92 (latest)
  • 3.141.592
  • 3.14.1592
  • 3.14.159
  • 3.14.15
  • 3.1.21
  • 3.1.19
  • 3.1.18
  • 3.1.17
  • 3.1.16
  • 3.1.15
  • 3.1.11
  • 3.1.9
  • 0.1.6 (deleted)
  • 0.1.5
  • 0.1.4
  • 0.1.3
released Jan 11th 2021
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 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

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'eyp-epel', '3.1415.92'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add eyp-epel
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install eyp-epel --version 3.1415.92

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

eyp/epel — version 3.1415.92 Jan 11th 2021

epel

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Reference

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)