Version information
released Apr 10th 2015
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'talamoig-centosrepos', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
talamoig/centosrepos — version 0.1.0 Apr 10th 2015
Puppet centosrepos module
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with centosrepos
Overview
Puppet module to include the CentOS repository.
This module will tipically not be used in a CentOS system, but in any other RedHat-based system.
Module Description
That is a very simple module. It creates a standard /etc/yum.repos/CentOS-base.repo
file, with
each section enabled/disabled according to the parameters passed to the class. By default all the
CentOS repos will be disabled.
Setup
What centosrepos affects
- It creates the
/etc/yum.repos/CentOS-base.repo
file.
Beginning with centosrepos
To create the CentOS repositories but will all repositories disabled do:
class {'centosrepos':}
To enable only the base repo:
class {'centosrepos':
enable_base => true
}
To enable base and extras:
class {'centosrepos':
enable_base => true,
enable_extras => true,
}
The list of available CentOS repositories is:
- base
- updates
- extras
- plus
- contrib
Dependencies
- puppetlabs-stdlib (>= 1.0.0)