Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

yum-epel (57) Versions 0.6.4

Installs and configures the EPEL Yum repository

Policyfile
Berkshelf
Knife
cookbook 'yum-epel', '= 0.6.4', :supermarket
cookbook 'yum-epel', '= 0.6.4'
knife supermarket install yum-epel
knife supermarket download yum-epel
README
Dependencies
Changelog
Quality 100%

yum-epel Cookbook

Build Status
Cookbook Version

The yum-epel cookbook takes over management of the default
repositoryids shipped with epel-release. It allows attribute
manipulation of epel, epel-debuginfo, epel-source, epel-testing,
epel-testing-debuginfo, and epel-testing-source.

Requirements

Platforms

  • RHEL/CentOS and derivatives
  • Fedora

Chef

  • Chef 11+

Cookbooks

  • yum version 3.2.0 or higher

Attributes

The following attributes are set by default

default['yum-epel']['repositories'] = %w{epel epel-debuginfo epel-source epel-testing epel-testing-debuginfo epel-testing-source}
default['yum']['epel']['repositoryid'] = 'epel'
default['yum']['epel']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch'
default['yum']['epel']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch'
default['yum']['epel']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
default['yum']['epel']['failovermethod'] = 'priority'
default['yum']['epel']['gpgcheck'] = true
default['yum']['epel']['enabled'] = true
default['yum']['epel']['managed'] = true
default['yum']['epel-debuginfo']['repositoryid'] = 'epel-debuginfo'
default['yum']['epel-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch - Debug'
default['yum']['epel-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch'
default['yum']['epel-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
default['yum']['epel-debuginfo']['failovermethod'] = 'priority'
default['yum']['epel-debuginfo']['gpgcheck'] = true
default['yum']['epel-debuginfo']['enabled'] = false
default['yum']['epel-debuginfo']['managed'] = false
default['yum']['epel-source']['repositoryid'] = 'epel-source'
default['yum']['epel-source']['description'] = 'Extra Packages for Enterprise Linux 6 - $basearch - Source'
default['yum']['epel-source']['mirrorlist'] = 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-6&arch=$basearch'
default['yum']['epel-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
default['yum']['epel-source']['failovermethod'] = 'priority'
default['yum']['epel-source']['gpgcheck'] = true
default['yum']['epel-source']['enabled'] = false
default['yum']['epel-source']['managed'] = false
default['yum']['epel-testing']['repositoryid'] = 'epel-testing'
default['yum']['epel-testing']['description'] = 'Extra Packages for Enterprise Linux 6 - Testing - $basearch'
default['yum']['epel-testing']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch'
default['yum']['epel-testing']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6r'
default['yum']['epel-testing']['failovermethod'] = 'priority'
default['yum']['epel-testing']['gpgcheck'] = true
default['yum']['epel-testing']['enabled'] = false
default['yum']['epel-testing']['managed'] = false
default['yum']['epel-testing-debuginfo']['repositoryid'] = 'epel-testing-debuginfo'
default['yum']['epel-testing-debuginfo']['description'] = 'Extra Packages for Enterprise Linux 6 - Testing - $basearch Debug'
default['yum']['epel-testing-debuginfo']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&arch=$basearch'
default['yum']['epel-testing-debuginfo']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
default['yum']['epel-testing-debuginfo']['failovermethod'] = 'priority'
default['yum']['epel-testing-debuginfo']['gpgcheck'] = true
default['yum']['epel-testing-debuginfo']['enabled'] = false
default['yum']['epel-testing-debuginfo']['managed'] = false
default['yum']['epel-testing-source']['repositoryid'] = 'epel-testing-source'
default['yum']['epel-testing-source']['description'] = 'Extra Packages for Enterprise Linux 6 - Testing - $basearch Source'
default['yum']['epel-testing-source']['mirrorlist'] = 'https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=$basearch'
default['yum']['epel-testing-source']['gpgkey'] = 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
default['yum']['epel-testing-source']['failovermethod'] = 'priority'
default['yum']['epel-testing-source']['gpgcheck'] = true
default['yum']['epel-testing-source']['enabled'] = false
default['yum']['epel-testing-source']['managed'] = false

Recipes

  • default - Walks through node attributes and feeds a yum_resource parameters. The following is an example a resource generated by the recipe during compilation.
  yum_repository 'epel' do
    mirrorlist 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch'
    description 'Extra Packages for Enterprise Linux 5 - $basearch'
    enabled true
    gpgcheck true
    gpgkey 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
  end

Usage Example

To disable the epel repository through a Role or Environment definition

default_attributes(
  :yum => {
    :epel => {
      :enabled => {
        false
       }
     }
   }
 )

Uncommonly used repositoryids are not managed by default. This is
speeds up integration testing pipelines by avoiding yum-cache builds
that nobody cares about. To enable the epel-testing repository with a
wrapper cookbook, place the following in a recipe:

node.default['yum']['epel-testing']['enabled'] = true
node.default['yum']['epel-testing']['managed'] = true
include_recipe 'yum-epel'

More Examples

Point the epel repositories at an internally hosted server.

node.default['yum']['epel']['enabled'] = true
node.default['yum']['epel']['mirrorlist'] = nil
node.default['yum']['epel']['baseurl'] = 'https://internal.example.com/centos/6/os/x86_64'
node.default['yum']['epel']['sslverify'] = false

include_recipe 'yum-epel'

License & Authors

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2011-2015, Chef Software, Inc.
```
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

Dependent cookbooks

yum ~> 3.2

Contingent cookbooks

abiquo Applicable Versions
alfresco-utils Applicable Versions
apache2 Applicable Versions
as-asset Applicable Versions
as-php Applicable Versions
asterisk Applicable Versions
atop Applicable Versions
backslasher-python Applicable Versions
base_install Applicable Versions
boxbilling Applicable Versions
cacti Applicable Versions
cdap Applicable Versions
ceph Applicable Versions
ceph-chef Applicable Versions
ceph_micro Applicable Versions
certbot Applicable Versions
certbot-exec Applicable Versions
chef-bareos Applicable Versions
chef-collectd Applicable Versions
chef-manageiq Applicable Versions
chef_nginx Applicable Versions
chef_work_environment Applicable Versions
cinc-build-support Applicable Versions
clamav Applicable Versions
cloudless-box Applicable Versions
cobblerd Applicable Versions
collectd-abiquo Applicable Versions
collectd-ng Applicable Versions
collectd_ii Applicable Versions
consul Applicable Versions
corosync-cookbook Applicable Versions
couch Applicable Versions
couchdb Applicable Versions
crenv Applicable Versions
database_application Applicable Versions
denyhosts Applicable Versions
django_platform Applicable Versions
docker Applicable Versions
dse Applicable Versions
ejabberd Applicable Versions
elasticsearch-curator Applicable Versions
entropy Applicable Versions
erlang Applicable Versions
fail2ban Applicable Versions
fail2ban-platform Applicable Versions
fcgiwrap_rpm Applicable Versions
fedora-mock Applicable Versions
ganeti Applicable Versions
ganglia Applicable Versions
gecode Applicable Versions
git Applicable Versions
gitlab Applicable Versions
gitlab-server Applicable Versions
gpg Applicable Versions
graphite Applicable Versions
haproxy Applicable Versions
heartbeat Applicable Versions
hello_world_circleci_deploy_example Applicable Versions
hollandbackup Applicable Versions
http_platform Applicable Versions
icewm Applicable Versions
icinga2 Applicable Versions
icinga2repo Applicable Versions
icingaweb2 Applicable Versions
ikiwiki Applicable Versions
isc_kea Applicable Versions
java-service Applicable Versions
jenkins Applicable Versions
jq Applicable Versions
katello Applicable Versions
kea-dhcp Applicable Versions
krb5_utils Applicable Versions
lampp_platform Applicable Versions
libarchive Applicable Versions
librato Applicable Versions
librenms Applicable Versions
librenms-ng Applicable Versions
linux-basic Applicable Versions
linux-tweak Applicable Versions
linux_basic Applicable Versions
magento Applicable Versions
magentostack Applicable Versions
mariadb Applicable Versions
memcached Applicable Versions
midokura Applicable Versions
monit-ng Applicable Versions
mono3 Applicable Versions
mono4 Applicable Versions
mosh Applicable Versions
mw_server_base Applicable Versions
mysql-mha Applicable Versions
nagios Applicable Versions
nagios-grid Applicable Versions
nagios3 Applicable Versions
netatalk Applicable Versions
netdata Applicable Versions
netdevops Applicable Versions
nginx Applicable Versions
nginx_server Applicable Versions
nginx_simplecgi Applicable Versions
no-ip Applicable Versions
nodejs Applicable Versions
nodestack Applicable Versions
nrpe Applicable Versions
nsca Applicable Versions
ocserv Applicable Versions
omnibus Applicable Versions
onddo_proftpd Applicable Versions
openbazaar Applicable Versions
opencv Applicable Versions
opendkim Applicable Versions
opendkim-milter Applicable Versions
openstack-clients Applicable Versions
openstack-common Applicable Versions
openvpn Applicable Versions
openvpn-platform Applicable Versions
openvpn_duo Applicable Versions
openvpn_okta Applicable Versions
opsview Applicable Versions
opsview_client Applicable Versions
ossec-ng Applicable Versions
ovh_the_bastion Applicable Versions
papertrail Applicable Versions
paramount Applicable Versions
pdns Applicable Versions
percona Applicable Versions
php Applicable Versions
php-omnibus Applicable Versions
phpstack Applicable Versions
postfix_rpm Applicable Versions
postfixadmin Applicable Versions
postgresql Applicable Versions
pound Applicable Versions
poweradmin Applicable Versions
privoxy Applicable Versions
protobuf Applicable Versions
pyload Applicable Versions
python Applicable Versions
pythonstack Applicable Versions
qpid Applicable Versions
r1337-linux-base Applicable Versions
rabbitmq Applicable Versions
rackspace_cloudbackup Applicable Versions
rackspace_gluster Applicable Versions
ratpoison Applicable Versions
redhat Applicable Versions
redis-simple Applicable Versions
repose Applicable Versions
resin Applicable Versions
rethinkdb Applicable Versions
riak Applicable Versions
riak-cs Applicable Versions
rserve Applicable Versions
ruby_build Applicable Versions
runit Applicable Versions
s3_cli Applicable Versions
salt Applicable Versions
sanity Applicable Versions
scipy Applicable Versions
scponly Applicable Versions
sensu_spec Applicable Versions
sickrage Applicable Versions
simplare-base Applicable Versions
sk_ruby Applicable Versions
snort Applicable Versions
spacewalk-client Applicable Versions
spacewalk-server Applicable Versions
sphinx Applicable Versions
spree Applicable Versions
ssmtp Applicable Versions
ssmtp2 Applicable Versions
stack_commons Applicable Versions
stackstorm Applicable Versions
stash Applicable Versions
stenographer Applicable Versions
stow Applicable Versions
strongSwan-base Applicable Versions
sysdig Applicable Versions
syslog_ng Applicable Versions
taurus Applicable Versions
terraria Applicable Versions
thruk Applicable Versions
tomcat Applicable Versions
torque Applicable Versions
trafficserver Applicable Versions
transmission Applicable Versions
ut_base Applicable Versions
varnish Applicable Versions
virtualbox-guest-additions Applicable Versions
vlc Applicable Versions
vsftpd Applicable Versions
x11vnc Applicable Versions
x2go-client Applicable Versions
x2go-server Applicable Versions
yum-atomic Applicable Versions
yum-bareos Applicable Versions
yum-erlang_solutions Applicable Versions
yum-ius Applicable Versions
yum-kubernetes Applicable Versions
yum-powerdns Applicable Versions
yum-remi-chef Applicable Versions
yum-repoforge Applicable Versions
yum-vmware-tools Applicable Versions
yum-webtatic Applicable Versions
yum-zabbix Applicable Versions
yum_utils Applicable Versions
zabbix Applicable Versions
zabbix_agent Applicable Versions
zammad Applicable Versions
zfs_linux Applicable Versions
zfsonlinux Applicable Versions

yum-epel Cookbook CHANGELOG

This file is used to list changes made in each version of the yum-epel cookbook.

v0.6.4 (2015-10-27)

  • Updating default recipe for Chef 13 deprecation warnings. Not passing nil.

v0.6.3 (2015-09-22)

  • Added standard Chef gitignore and chefignore files
  • Added the standard chef rubocop config
  • Update contributing, maintainers, and testing docs
  • Update Chefspec config to 4.X format
  • Update distro versions in the Kitchen config
  • Add Travis CI and cookbook version badges in the readme
  • Expand the requirements section in the readme
  • Add additional distros to the metadata
  • Added source_url and issues_url metadata

v0.6.2 (2015-06-21)

  • Depending on yum ~> 3.2
  • Support for the password attribute wasn't added to the yum_repository LWRP until yum 3.2.0.

v0.6.1 (2015-06-21)

  • Switching to https for URL links
  • Using metalink URLs

v0.6.0 (2015-01-03)

  • Adding EL7 support

v0.5.3 (2014-10-28)

  • Revert Use HTTPS for GPG keys and mirror lists

v0.5.2 (2014-10-28)

  • Use HTTPS for GPG keys and mirror lists
  • Use local key on Amazon Linux

v0.5.0 (2014-09-02)

  • Add all attribute available to LWRP to allow for tuning.

v0.4.0 (2014-07-27)

  • [#9] Allowing list of repositories to reference configurable.

v0.3.6 (2014-04-09)

  • [COOK-4509] add RHEL7 support to yum-epel cookbook

v0.3.4 (2014-02-19)

COOK-4353 - Fixing typo in readme

v0.3.2 (2014-02-13)

Updating README to explain the 'managed' parameter

v0.3.0 (2014-02-12)

[COOK-4292] - Do not manage secondary repos by default

v0.2.0

Adding Amazon Linux support

v0.1.6

Fixing up attribute values for EL6

v0.1.4

Adding CHANGELOG.md

v0.1.0

initial release

Foodcritic Metric
            

0.6.4 passed this metric