Version information
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 >= 3.8.0
- , , , ,
Tasks:
- checkupdate
- listpackages
- update
Start using this module
Add this module to your Puppetfile:
mod 'eyp-yum', '0.1.27'
Learn more about managing modules with a PuppetfileDocumentation
yum
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with yum
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Overview
A one-maybe-two sentence summary of what the module does/what problem it solves. This is your 30 second elevator pitch for your module. Consider including OS/Puppet version it works with.
Module Description
If applicable, this section should have a brief description of the technology the module integrates with and what that integration enables. This section should answer the questions: "What does this module do?" and "Why would I use it?"
If your module has a range of functionality (installation, configuration, management, etc.) this is the time to mention it.
Setup
What yum affects
- A list of files, packages, services, or operations that the module will alter, impact, or execute on the system it's installed on.
- This is a great place to stick any warnings.
- Can be in list or paragraph form.
Setup Requirements OPTIONAL
If your module requires anything extra before setting up (pluginsync enabled, etc.), mention it here.
Beginning with yum
The very basic steps needed for a user to get the module up and running.
If your most recent release breaks compatibility or requires particular steps for upgrading, you may wish to include an additional section here: Upgrading (For an example, see http://forge.puppetlabs.com/puppetlabs/firewall).
Usage
yum::reposync { 'rhel-6-server-rpms':
repo_path => '/var/www/rhel-6-server-rpms',
cron_enabled => false,
}
Reference
Here, list the classes, types, providers, facts, etc contained in your module. This section should include all of the under-the-hood workings of your module so people know what the module is touching on their system but don't need to mess with things. (We are working on automating this section!)
Limitations
This is where you list OS compatibility, version compatibility, etc.
Development
Since your module is awesome, other users will want to play with it. Let them know what the ground rules for contributing are.
Release Notes/Contributors/Etc Optional
If you aren't using changelog, put your release notes here (though you should
consider using changelog). You may also add any additional sections you feel are
necessary or important to include here. Please use the ##
header.
What are tasks?
Modules can contain tasks that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.
Tasks in this module release
checkupdate
List available packages to be updated
listpackages
List installed packages
CHANGELOG
0.1.27
- added enforce_gpgcheck to be able to enforce all unmanaged repos to use GPG
- minor cleanup
0.1.26
- added patching related tasks:
- listpackages
- update
0.1.25
- added patching related task:
- checkupdate
0.1.24
- added cron_ensure to yum::reposync
- INCOMPATIBLE CHANGE: dropped cron_enable from yum::reposync
0.1.23
- added customizable verbose for createrepo
- repomd.xml validation
0.1.22
- added createrepo to reposync script
0.1.20
- added PATH to reposync script
- added notifempty to logrotation
0.1.19
- improved debugging
0.1.18
- added configurable max iterations waiting for yum.pid
- added mkdir repo_path and cd repo_path in script reposync
0.1.17
- added quiet option enabled by default in yum::reposync
- added logrotation using eyp-logrotate
0.1.16
- improved yum::reposync logging
0.1.15
- yum::reposync: yum.pid locking
0.1.14
- reposync script lint
- added logdir for reposync
0.1.13
- added log file for reposyncs
- added rposync options:
- delete
- newest_only
0.1.12
- added generic exec path
0.1.11
- reposync with a bash script to add some sanity checks
0.1.10
- bugfix: allow multiples reposyncs using the same repo_path
- added the following variables to yum:
- gpgcheck
- obsoletes
- plugins
0.1.9
- added exclude option for yum.conf
0.1.8
- bugfix Package['createrepo']
0.1.7
- check if proxy is empty
0.1.6
- bugfix reposync cronjob name
0.1.5
- bugfix mkdir -p reposync
0.1.4
- added directory repo_path under management (yum::reposync)
0.1.3
- added yum::reposync according to How to create a local mirror of the latest update for Red Hat Enterprise Linux 5, 6, 7 without using Satellite server
0.1.2
- centos/rhel 7 support
Dependencies
- puppetlabs/stdlib (>= 1.0.0)
- eyp/eyplib (>= 0.1.0 < 0.2.0)