Forge Home

yumrepos

configure YUM repository on RedHat and CentOS

11,976 downloads

11,976 latest version

2.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

  • 0.0.1 (latest)
released Sep 9th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'jcalles-yumrepos', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jcalles-yumrepos
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jcalles-yumrepos --version 0.0.1

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
Tags: redhat, yum, centos

Documentation

jcalles/yumrepos — version 0.0.1 Sep 9th 2013

yumrepos

This is the yumrepos module.

License

Apache License, Version 2.0

Contact

Javier Calles javier.calles@smartmatic.com

Support

Visit Site Projects site

=== Class: yumrepos

This module allows you to configure YUM repository on RedHat and CentOS nodes

=== Parameters

  repoip => IP address YUM repository server
  port => Port SSL
  epel => Enable or disable EPEL 

Example


    node /fqdn/ {
    include yumrepos
    yumrepos::install::repo{'addrepos':
          repoip => '10.10.10.100',
          port => "446",
          epel => "true",
}
}

Howto Use

To use this module you must have configured a RPM package repository with the following structure: https://10.10.10.100:446/CentOS/6.4/os/x86_64/ for example. should generate two SSL certificate files and put on yumrepos/files/

=== Authors

Javier Calles javier.calles@smartmatic.com

=== Copyright

Copyright 2013 Javier Calles