cookbook 'yum-epel', '= 0.3.2'
yum-epel
(57) Versions
0.3.2
-
-
5.0.8
-
5.0.7
-
5.0.6
-
5.0.5
-
5.0.4
-
5.0.3
-
5.0.2
-
5.0.1
-
5.0.0
-
4.5.1
-
4.5.0
-
4.4.1
-
4.4.0
-
4.3.0
-
4.2.3
-
4.2.2
-
4.2.1
-
4.2.0
-
4.1.4
-
4.1.3
-
4.1.2
-
4.1.1
-
4.1.0
-
4.0.1
-
4.0.0
-
3.3.0
-
3.2.0
-
3.1.0
-
3.0.0
-
2.1.2
-
2.1.1
-
2.1.0
-
2.0.0
-
1.0.2
-
1.0.1
-
1.0.0
-
0.7.1
-
0.7.0
-
0.6.6
-
0.6.5
-
0.6.4
-
0.6.3
-
0.6.2
-
0.6.1
-
0.6.0
-
0.5.3
-
0.5.2
-
0.5.1
-
0.5.0
-
0.4.0
-
0.3.6
-
0.3.4
-
0.3.2
-
0.3.0
-
0.2.0
-
0.1.6
-
0.1.4
Follow95
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.5.1
- 4.5.0
- 4.4.1
- 4.4.0
- 4.3.0
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.1
- 4.0.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.7.1
- 0.7.0
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.6
- 0.3.4
- 0.3.2
- 0.3.0
- 0.2.0
- 0.1.6
- 0.1.4
Installs and configures the EPEL Yum repository
cookbook 'yum-epel', '= 0.3.2', :supermarket
knife supermarket install yum-epel
knife supermarket download yum-epel
yum-epel Cookbook
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
- Chef 11 or higher
- yum cookbook version 3.0.0 or higher
Attributes
The following attributes are set by default
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:: Sean OMeara (someara@opscode.com)
Copyright:: 2011-2013 Opscode, 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.0 |
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