Michael Stahnke wrote puppet-module-epel. Lee Boynton followed up with puppet-rpmforge which has a dependancy on puppet-module-epel
for a fact and rpm key importing.
It seems like managing third party repos is a common task. If we're going to have a cross module dependancy we might as well merge the modules.
EPEL and RepoForge are two common third party RPM repositories. To parrot Michael Stahnke, “I just got sick of coding Puppet modules and basically having an assumption that EPEL was setup or installed. I can now depend on this module instead.”
There are also some packages which don't play nicely between the two (nagios-plugins comes to mind) and when possible that has been captured here.
include rpmrepos::epel
This module basically just mimics the epel-release rpm. The same repos are enabled/disabled and the GPG key is imported. In the end you will end up with the EPEL repos configured.
The following Repos will be setup and enabled by default:
Other repositories that will setup but disabled (as per the epel-release setup)
You can enable them using class parameters (testing => true
).
If you have an http proxy required to access the internet, you can use the $proxy variable in the class parameters. If it is set to a value other than ‘absent’ a proxy will be setup with each repository. Note that otherwise each of the repos will fall back to settings in the /etc/yum.conf file.
include rpmrepos::rpmforge
This module basically just mimics the rpmforge-release rpm. The same repos are enabled/disabled and the GPG key is imported. In the end you will end up with the RepoForge (aka RPMForge) repos configured.
The following Repos will be setup and enabled by default:
Other repositories that will setup but disabled (as per the rpmforge-release setup)
You can enable them using class parameters (testing => '1'
).
If you have an http proxy required to access the internet, you can use the $proxy variable in the class parameters. If it is set to a value other than ‘absent’ a proxy will be setup with each repository. Note that otherwise each of the repos will fall back to settings in the /etc/yum.conf file.