Giter VIP home page Giter VIP logo

eyp-epel's Introduction

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)

eyp-epel's People

Contributors

marcmoiagese avatar

Watchers

James Cloos avatar  avatar Armando Gil avatar Not a robot avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.