epel

EPEL repos management
jordi prats

jordi prats

eyp

41,199 downloads

6,309 latest version

5.0 quality score

Version information

  • 3.141.592 (latest)
  • 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
  • 0.1.5
  • 0.1.4
  • 0.1.3
released Sep 27th 2019
This version is compatible with:
  • Puppet Enterprise 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 >= 2.0.0
  • RedHat
    ,
    CentOS
    ,
    Scientific
    ,
    OEL
    ,
    OracleLinux

Start using this module

Documentation

eyp/epel — version 3.141.592 Sep 27th 2019

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)