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 (96) Versions 3.10.0

Configures various yum components on Red Hat-like systems

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

yum Cookbook

Build Status Cookbook Version Code Climate

The Yum cookbook exposes the yum_globalconfig and yum_repository resources that allows a user to both control global behavior and make individual Yum repositories available for use. These resources aim to allow the user to configure all options listed in the yum.conf man page, found at http://linux.die.net/man/5/yum.conf

NOTES

WARNING: Yum cookbook version 3.0.0 and above contain non-backwards compatible breaking changes and will not work with cookbooks written against the 2.x and 1.x series. Changes have been made to the yum_repository resource, and the yum_key resource has been eliminated entirely. Recipes have been eliminated and moved into their own cookbooks. Please lock yum to the 2.x series in your Chef environments until all dependent cookbooks have been ported.

Requirements

Platforms

  • RHEL/CentOS and derivatives
  • Fedora

Chef

  • Chef 11+

Cookbooks

  • none

Resources/Providers

yum_repository

This resource manages a yum repository configuration file at /etc/yum.repos.d/repositoryid.repo. When the file needs to be repaired, it calls yum-makecache so packages in the repo become available to the next resource.

Example

# add the Zenoss repository
yum_repository 'zenoss' do
  description "Zenoss Stable repo"
  baseurl "http://dev.zenoss.com/yum/stable/"
  gpgkey 'http://dev.zenoss.com/yum/RPM-GPG-KEY-zenoss'
  action :create
end

# add the EPEL repo
yum_repository 'epel' do
  description 'Extra Packages for Enterprise Linux'
  mirrorlist 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
  gpgkey 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6'
  action :create
end
# delete CentOS-Media repo
yum_repository 'CentOS-Media' do
  action :delete
end

Actions

  • :create - creates a repository file and builds the repository listing
  • :delete - deletes the repository file
  • :makecache - update yum cache

Parameters

  • baseurl - Must be a URL to the directory where the yum repository's 'repodata' directory lives. Can be an http://, ftp:// or file:// URL. You can specify multiple URLs in one baseurl statement.
  • cost - relative cost of accessing this repository. Useful for weighing one repo's packages as greater/less than any other. defaults to 1000
  • clean_metadata - Run "yum clean metadata <reponame>" during repository creation. defaults to true.
  • description - Maps to the 'name' parameter in a repository .conf. Descriptive name for the repository channel. This directive must be specified.
  • enabled - Either true or false. This tells yum whether or not use this repository.
  • enablegroups - Either true or false. Determines whether yum will allow the use of package groups for this repository. Default is true (package groups are allowed).
  • exclude - List of packages to exclude from updates or installs. This should be a space separated list in a single string. Shell globs using wildcards (eg. * and ?) are allowed.
  • failovermethod - Either 'roundrobin' or 'priority'.
  • fastestmirror_enabled - Either true or false
  • gpgcheck - Either true or false. This tells yum whether or not it should perform a GPG signature check on packages. When this is set in the [main] section it sets the default for all repositories. The default is true.
  • gpgkey - A URL pointing to the ASCII-armored GPG key file for the repository. This option is used if yum needs a public key to verify a package and the required key hasn't been imported into the RPM database. If this option is set, yum will automatically import the key from the specified URL.
  • http_caching - Either 'all', 'packages', or 'none'. Determines how upstream HTTP caches are instructed to handle any HTTP downloads that Yum does. Defaults to 'all'
  • includepkgs - Inverse of exclude. This is a list of packages you want to use from a repository. If this option lists only one package then that is all yum will ever see from the repository. Defaults to an empty list.
  • keepalive - Either true or false. This tells yum whether or not HTTP/1.1 keepalive should be used with this repository.
  • make_cache - Optional, Default is true, if false then yum -q makecache will not be ran
  • max_retries - Set the number of times any attempt to retrieve a file should retry before returning an error. Setting this to '0' makes yum try forever. Default is '10'.
  • metadata_expire - Time (in seconds) after which the metadata will expire. So that if the current metadata downloaded is less than this many seconds old then yum will not update the metadata against the repository. If you find that yum is not downloading information on updates as often as you would like lower the value of this option. You can also change from the default of using seconds to using days, hours or minutes by appending a d, h or m respectively. The default is 6 hours, to compliment yum-updatesd running once an hour. It's also possible to use the word "never", meaning that the metadata will never expire. Note that when using a metalink file the metalink must always be newer than the metadata for the repository, due to the validation, so this timeout also applies to the metalink file.
  • mirrorlist - Specifies a URL to a file containing a list of baseurls. This can be used instead of or with the baseurl option. Substitution variables, described below, can be used with this option. As a special hack is the mirrorlist URL contains the word "metalink" then the value of mirrorlist is copied to metalink (if metalink is not set)
  • mirror_expire - Time (in seconds) after which the mirrorlist locally cached will expire. If the current mirrorlist is less than this many seconds old then yum will not download another copy of the mirrorlist, it has the same extra format as metadata_expire. If you find that yum is not downloading the mirrorlists as often as you would like lower the value of this option.
  • mirrorlist_expire - alias for mirror_expire
  • mode - Permissions mode of .repo file on disk. Useful for scenarios where secrets are in the repo file. If set to '600', normal users will not be able to use yum search, yum info, etc. Defaults to '0644'
  • priority - When the yum-priorities plug-in is enabled, you set priorities on repository entries, where N is an integer from 1 to 99. The default priority for repositories is 99.
  • proxy - URL to the proxy server that yum should use.
  • proxy_username - username to use for proxy
  • proxy_password - password for this proxy
  • report_instanceid - Report instance ID when using Amazon Linux AMIs and repositories
  • repositoryid - Must be a unique name for each repository, one word. Defaults to name attribute.
  • sensitive - Optional, Default is false, if true then content of repository file is hidden from chef run output.
  • source - Use a custom template source instead of the default one in the yum cookbook
  • sslcacert - Path to the directory containing the databases of the certificate authorities yum should use to verify SSL certificates. Defaults to none - uses system default
  • sslclientcert - Path to the SSL client certificate yum should use to connect to repos/remote sites Defaults to none.
  • sslclientkey - Path to the SSL client key yum should use to connect to repos/remote sites Defaults to none.
  • sslverify - Either true or false. Determines if yum will verify SSL certificates/hosts. Defaults to true
  • timeout - Number of seconds to wait for a connection before timing out. Defaults to 30 seconds. This may be too short of a time for extremely overloaded sites.

yum_globalconfig

This renders a template with global yum configuration parameters. The default recipe uses it to render /etc/yum.conf. It is flexible enough to be used in other scenarios, such as building RPMs in isolation by modifying installroot.

Example

yum_globalconfig '/my/chroot/etc/yum.conf' do
  cachedir '/my/chroot/etc/yum.conf'
  keepcache 'yes'
  debuglevel '2'
  installroot '/my/chroot'
  action :create
end

Parameters

yum_globalconfig can take most of the same parameters as a yum_repository, plus more, too numerous to describe here. Below are a few of the more commonly used ones. For a complete list, please consult the yum.conf man page, found here: http://linux.die.net/man/5/yum.conf
- cachedir - Directory where yum should store its cache and db files. The default is '/var/cache/yum'.
- keepcache - Either true or false. Determines whether or not yum keeps the cache of headers and packages after successful installation. Default is false
- debuglevel - Debug message output level. Practical range is 0-10. Default is '2'.
- exclude - List of packages to exclude from updates or installs. This should be a space separated list. Shell globs using wildcards (eg. * and ?) are allowed.
- installonlypkgs = List of package provides that should only ever be installed, never updated. Kernels in particular fall into this category. Defaults to kernel, kernel-bigmem, kernel-enterprise, kernel-smp, kernel-debug, kernel-unsupported, kernel-source, kernel-devel, kernel-PAE, kernel-PAE-debug.
- logfile - Full directory and file name for where yum should write its log file.
- exactarch - Either true or false. Set to true to make 'yum update' only update the architectures of packages that you have installed. ie: with this enabled yum will not install an i686 package to update an x86_64 package. Default is true
- gpgcheck - Either true or false. This tells yum whether or not it should perform a GPG signature check on the packages gotten from this repository.

Recipes

  • default - Configures yum_globalconfig[/etc/yum.conf] with values found in node attributes at node['yum']['main']
  • dnf_yum_compat - Installs the yum package using dnf on Fedora systems to provide support for the package resource in recipes. This is necessary as Chef does not yet (as of Q4 2015) have native support for DNF. This recipe should be 1st on a Fedora runlist

Attributes

The following attributes are set by default

default['yum']['main']['cachedir'] = '/var/cache/yum/$basearch/$releasever'
default['yum']['main']['keepcache'] = false
default['yum']['main']['debuglevel'] = nil
default['yum']['main']['exclude'] = nil
default['yum']['main']['logfile'] = '/var/log/yum.log'
default['yum']['main']['exactarch'] = nil
default['yum']['main']['obsoletes'] = nil
default['yum']['main']['installonly_limit'] = nil
default['yum']['main']['installonlypkgs'] = nil
default['yum']['main']['installroot'] = nil

Recipes from older versions of this cookbook have been moved individual cookbooks. Recipes for managing platform yum configurations and installing specific repositories can be found in one (or more!) of the following cookbook.
- yum-centos
- yum-fedora
- yum-amazon
- yum-epel
- yum-elrepo
- yum-repoforge
- yum-ius
- yum-percona
- yum-pgdg

Usage

Put depends 'yum' in your metadata.rb to gain access to the yum_repository resource.

License & Authors

Copyright:: 2011 Eric G. Wolfe
Copyright:: 2013-2016 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

This cookbook has no specified dependencies.

Contingent cookbooks

CVE-2015-0235 Applicable Versions
abiquo Applicable Versions
ajenti Applicable Versions
amazon_s3cmd Applicable Versions
appcanary Applicable Versions
asf Applicable Versions
askbot Applicable Versions
asterisk Applicable Versions
auditbeat Applicable Versions
automatic_updates Applicable Versions
bamboo-agent Applicable Versions
baseserver Applicable Versions
bash-it Applicable Versions
bazaar Applicable Versions
bittorrent Applicable Versions
blackfire Applicable Versions
bosun Applicable Versions
boundary-meter Applicable Versions
boundary_meter Applicable Versions
bprobe Applicable Versions
cassandra-dse Applicable Versions
cdap Applicable Versions
centos-preupg Applicable Versions
centos-test Applicable Versions
ceph Applicable Versions
ceph-chef Applicable Versions
chef-bareos Applicable Versions
chef-grafana Applicable Versions
chef-manageiq Applicable Versions
chef-mongodb Applicable Versions
chef-yum-docker Applicable Versions
chef_nginx Applicable Versions
chrome Applicable Versions
cinc-build-support Applicable Versions
circonus-broker Applicable Versions
clamav Applicable Versions
cloudinsight-agent Applicable Versions
cloudless-box Applicable Versions
cloudpassage Applicable Versions
cloudstack Applicable Versions
confluent-cookbook Applicable Versions
confluent-platform Applicable Versions
conjur Applicable Versions
cookbook-openshift3 Applicable Versions
cookbook-openshift3 0.0.1
cookbook-openshift3 1.0.2
cookbook-openshift3 1.0.3
cookbook-openshift3 1.0.4
cookbook-openshift3 1.0.5
cookbook-openshift3 1.0.6
cookbook-openshift3 1.0.7
cookbook-openshift3 1.0.8
cookbook-openshift3 1.0.9
cookbook-openshift3 1.10.0
cookbook-openshift3 1.10.1
cookbook-openshift3 1.10.2
cookbook-openshift3 1.10.3
cookbook-openshift3 1.10.4
cookbook-openshift3 1.10.5
cookbook-openshift3 1.10.6
cookbook-openshift3 1.10.7
cookbook-openshift3 1.10.8
cookbook-openshift3 1.10.9
cookbook-openshift3 1.10.10
cookbook-openshift3 1.10.11
cookbook-openshift3 1.10.12
cookbook-openshift3 1.10.13
cookbook-openshift3 1.10.14
cookbook-openshift3 1.10.15
cookbook-openshift3 1.10.16
cookbook-openshift3 1.10.17
cookbook-openshift3 1.10.18
cookbook-openshift3 1.10.19
cookbook-openshift3 1.10.62
cookbook-openshift3 1.10.63
cookbook-openshift3 1.10.64
cookbook-openshift3 1.10.66
cookbook-openshift3 1.10.67
cookbook-openshift3 2.0.5
cookbook-openshift3 2.0.6
cookbook-openshift3 2.0.7
cookbook-openshift3 2.0.9
cookbook-openshift3 2.0.10
cookbook-openshift3 2.0.12
cookbook-openshift3 2.0.13
cookbook-openshift3 2.0.14
cookbook-openshift3 2.0.15
cookbook-openshift3 2.0.18
cookbook-openshift3 2.0.19
cookbook-openshift3 2.0.20
cookbook-openshift3 2.0.21
cookbook-openshift3 2.0.22
cookbook-openshift3 2.0.23
cookbook-openshift3 2.0.24
cookbook-openshift3 2.0.26
cookbook-openshift3 2.0.27
cookbook-openshift3 2.0.28
cookbook-openshift3 2.0.29
cookbook-openshift3 2.0.32
cookbook-openshift3 2.0.33
cookbook-openshift3 2.0.41
cookbook-openshift3 2.0.42
cookbook-openshift3 2.0.43
cookbook-openshift3 2.0.44
cookbook-openshift3 2.0.45
cookbook-openshift3 2.0.46
cookbook-openshift3 2.0.47
cookbook-openshift3 2.0.48
cookbook-openshift3 2.0.49
cookbook-openshift3 2.0.50
cookbook-openshift3 2.0.51
cookbook-openshift3 2.0.52
cookbook-openshift3 2.0.53
cookbook-openshift3 2.0.54
cookbook-openshift3 2.0.55
cookbook-openshift3 2.0.57
cookbook-openshift3 2.0.58
cookbook-openshift3 2.0.60
cookbook-openshift3 2.0.62
cookbook-openshift3 2.0.63
cookbook-openshift3 2.0.64
cookbook-openshift3 2.0.65
cookbook-openshift3 2.0.66
cookbook-openshift3 2.0.68
cookbook-openshift3 2.0.69
cookbook-openshift3 2.0.71
cookbook-openshift3 2.0.72
cookbook-openshift3 2.0.74
cookbook-openshift3 2.0.75
cookbook-openshift3 2.0.76
cookbook-openshift3 2.0.77
cookbook-openshift3 2.0.82
cookbook-openshift3 2.0.83
cookbook-openshift3 2.0.85
cookbook-openshift3 2.0.86
cookbook-openshift3 2.0.88
cookbook-openshift3 2.0.90
cookbook-openshift3 2.1.0
cookbook-openshift3 2.1.1
cookbook-openshift3 2.1.2
cookbook-openshift3 2.1.3
cookbook-openshift3 2.1.4
cookbook-openshift3 2.1.5
cookbook-openshift3 2.1.6
cookbook-openshift3 2.1.7
cookbook-openshift3 2.1.8
cookbook-openshift3 2.1.9
cookbook-openshift3 2.1.11
cookbook-openshift3 2.1.13
cookbook-openshift3 2.1.14
cookbook-openshift3 2.1.17
cookbook-openshift3 2.1.18
cookbook-openshift3 2.1.19
cookbook-openshift3 2.1.21
cookbook-openshift3 2.1.23
cookbook-openshift3 2.1.24
cookbook-openshift3 2.1.25
cookbook-openshift3 2.1.26
coopr Applicable Versions
corosync Applicable Versions
corosync-cookbook Applicable Versions
couchbase Applicable Versions
couchbase-ng Applicable Versions
couchdb Applicable Versions
crenv Applicable Versions
datadog Applicable Versions
dbench Applicable Versions
ddrelease Applicable Versions
diamond Applicable Versions
dirsrv Applicable Versions
docker Applicable Versions
dotnet-core Applicable Versions
dse Applicable Versions
ejabberd Applicable Versions
elastic-heartbeat Applicable Versions
elastic_beats_repo Applicable Versions
elastic_repo Applicable Versions
elasticsearch Applicable Versions
elasticsearch-cluster Applicable Versions
elasticsearch-curator Applicable Versions
elasticsearch-ng Applicable Versions
elkstack Applicable Versions
embulk Applicable Versions
enstratius_agent_proxy Applicable Versions
erlang Applicable Versions
et_mesos Applicable Versions
eucalyptus Applicable Versions
fabio Applicable Versions
fail2ban Applicable Versions
filebeat Applicable Versions
filezilla Applicable Versions
fish-shell Applicable Versions
fog_gem Applicable Versions
fping Applicable Versions
freeswitch Applicable Versions
frog Applicable Versions
fuse Applicable Versions
galera-platform Applicable Versions
ganeti Applicable Versions
gantbox Applicable Versions
gecode Applicable Versions
gflags Applicable Versions
git Applicable Versions
gitlab Applicable Versions
gitlab-ci-runner Applicable Versions
gitlab-server Applicable Versions
gkrellmd Applicable Versions
gliderlabs_registrator Applicable Versions
gluster Applicable Versions
glusterfs Applicable Versions
goaccess Applicable Versions
gocd Applicable Versions
google-authenticator Applicable Versions
grafana Applicable Versions
grafana2 Applicable Versions
hadoop Applicable Versions
hadoop_cluster_rpm Applicable Versions
hdp-cloud Applicable Versions
hello_world_circleci_deploy_example Applicable Versions
hem Applicable Versions
hhvm Applicable Versions
hipchat_client Applicable Versions
htop Applicable Versions
httpie Applicable Versions
ibm-power Applicable Versions
ibm_mq Applicable Versions
icinga-ng Applicable Versions
icinga2 Applicable Versions
icinga2repo Applicable Versions
imply-platform Applicable Versions
incron Applicable Versions
influxdb Applicable Versions
ipynb Applicable Versions
irssi Applicable Versions
jenkins Applicable Versions
jenkins-repo Applicable Versions
jolicode-php Applicable Versions
k8s Applicable Versions
katello Applicable Versions
keycloak Applicable Versions
ldapknife Applicable Versions
letsencrypt-boulder-server Applicable Versions
libffi Applicable Versions
librato Applicable Versions
libxml2 Applicable Versions
libxslt Applicable Versions
logdna Applicable Versions
logentries_agent Applicable Versions
logentries_ng Applicable Versions
logstash Applicable Versions
logstash-forwarder Applicable Versions
logstash_forwarder Applicable Versions
lshw Applicable Versions
lsyncd Applicable Versions
lumenvox Applicable Versions
lxmpbox Applicable Versions
mackerel-agent Applicable Versions
magento Applicable Versions
magentostack Applicable Versions
marathon Applicable Versions
mariadb Applicable Versions
mcollective Applicable Versions
memcached Applicable Versions
memcached-cookbook Applicable Versions
mesos Applicable Versions
metricbeat Applicable Versions
minecraft Applicable Versions
mod_security Applicable Versions
mongodb Applicable Versions
mongodb-lib Applicable Versions
mongodb3 Applicable Versions
mono Applicable Versions
mono3 Applicable Versions
mono4 Applicable Versions
mosh Applicable Versions
mssqltools Applicable Versions
my_cookbook Applicable Versions
mysqld Applicable Versions
nagios Applicable Versions
neo4j Applicable Versions
netdevops Applicable Versions
netuitive Applicable Versions
newrelic Applicable Versions
newrelic-sysmond Applicable Versions
newrelic_meetme_plugin Applicable Versions
nexus Applicable Versions
nginx Applicable Versions
nginx-repo Applicable Versions
nodejs Applicable Versions
nodestack Applicable Versions
nsis Applicable Versions
ocserv Applicable Versions
omnibus Applicable Versions
omsa Applicable Versions
oneapm-ci-agent Applicable Versions
openbazaar Applicable Versions
opennms Applicable Versions
openresty Applicable Versions
openstack-clients Applicable Versions
openstack-common Applicable Versions
openvpn Applicable Versions
openvpnas Applicable Versions
opsview Applicable Versions
opsview_client Applicable Versions
os-hardening Applicable Versions
packagecloud Applicable Versions
packetbeat Applicable Versions
papertrail Applicable Versions
paramount Applicable Versions
patchman Applicable Versions
pdns Applicable Versions
percona Applicable Versions
percona-toolkit Applicable Versions
percona-tools Applicable Versions
perforce Applicable Versions
pertino Applicable Versions
pg Applicable Versions
pg-multi Applicable Versions
php-fpm Applicable Versions
phpstack Applicable Versions
pipeline Applicable Versions
pita Applicable Versions
platformstack Applicable Versions
poise-ruby Applicable Versions
postfix-dovecot Applicable Versions
postgis Applicable Versions
postgresql Applicable Versions
prometheus Applicable Versions
prosody Applicable Versions
protobuf Applicable Versions
pxe Applicable Versions
python Applicable Versions
pythonstack Applicable Versions
qpdf Applicable Versions
qpid Applicable Versions
rabbitmq Applicable Versions
rackspace_cloud_monitoring Applicable Versions
rackspace_cloudbackup Applicable Versions
rackspace_gluster Applicable Versions
rackspace_iptables Applicable Versions
rackspace_monitoring Applicable Versions
rackspace_support Applicable Versions
realmd-sssd Applicable Versions
redhat Applicable Versions
repose Applicable Versions
rethinkdb Applicable Versions
riak Applicable Versions
riak-cs Applicable Versions
riemann2 Applicable Versions
rkhunter Applicable Versions
rkt Applicable Versions
ruby-enterprise-install Applicable Versions
ruby-env-cookbook Applicable Versions
ruby_install Applicable Versions
rundeck Applicable Versions
rundeck-alt Applicable Versions
rundeck-server Applicable Versions
runit Applicable Versions
salt Applicable Versions
sc-mongodb Applicable Versions
scipy Applicable Versions
scl Applicable Versions
scout Applicable Versions
search_helpers Applicable Versions
selenium_grid Applicable Versions
selinux_policy Applicable Versions
sensu Applicable Versions
sensu_spec Applicable Versions
server-base Applicable Versions
serverdensity Applicable Versions
siege Applicable Versions
software-collections Applicable Versions
solr_6 Applicable Versions
sonarqube_server Applicable Versions
spacewalk-server Applicable Versions
sphinx Applicable Versions
ssmtp Applicable Versions
ssmtp2 Applicable Versions
stack_commons Applicable Versions
stackstorm Applicable Versions
stegosoc Applicable Versions
stenographer Applicable Versions
supermarket Applicable Versions
sysdig Applicable Versions
takipi Applicable Versions
taurus Applicable Versions
td-agent Applicable Versions
teamforge Applicable Versions
telegraf Applicable Versions
terraria Applicable Versions
threatstack Applicable Versions
thruk Applicable Versions
tideways Applicable Versions
tizen Applicable Versions
tomoyo Applicable Versions
topbeat Applicable Versions
tor-full Applicable Versions
toran Applicable Versions
tutum Applicable Versions
twindb-repo Applicable Versions
typesafe-stack Applicable Versions
uchiwa Applicable Versions
ut_base Applicable Versions
varnish Applicable Versions
varnish_ng Applicable Versions
virtualbox Applicable Versions
vlc Applicable Versions
vmware-tools Applicable Versions
vmwaretools Applicable Versions
wazuh Applicable Versions
wazuh_agent Applicable Versions
wazuh_manager Applicable Versions
webmin Applicable Versions
wildfly Applicable Versions
x2go Applicable Versions
xbuild Applicable Versions
xrdp Applicable Versions
xvfb Applicable Versions
yum-amazon Applicable Versions
yum-atomic Applicable Versions
yum-atrpms Applicable Versions
yum-bareos Applicable Versions
yum-centos Applicable Versions
yum-chef Applicable Versions
yum-cloudstack-apt-get Applicable Versions
yum-corporate Applicable Versions
yum-dell Applicable Versions
yum-docker Applicable Versions
yum-duosecurity Applicable Versions
yum-elasticsearch Applicable Versions
yum-elrepo Applicable Versions
yum-epel Applicable Versions
yum-erlang_solutions Applicable Versions
yum-fedora Applicable Versions
yum-gitlab-ce Applicable Versions
yum-grafana Applicable Versions
yum-hp Applicable Versions
yum-influxdb Applicable Versions
yum-ius Applicable Versions
yum-jenkins Applicable Versions
yum-jpackage Applicable Versions
yum-kubernetes Applicable Versions
yum-mysql-community Applicable Versions
yum-newrelic Applicable Versions
yum-nginx Applicable Versions
yum-nodesource Applicable Versions
yum-oracle Applicable Versions
yum-osuosl Applicable Versions
yum-passenger Applicable Versions
yum-percona Applicable Versions
yum-pgdg Applicable Versions
yum-plugin-versionlock Applicable Versions
yum-powerdns Applicable Versions
yum-pydio Applicable Versions
yum-rabbitmq Applicable Versions
yum-remi Applicable Versions
yum-remi-chef Applicable Versions
yum-repoforge Applicable Versions
yum-scl Applicable Versions
yum-virtualbox Applicable Versions
yum-vmware-tools Applicable Versions
yum-webtatic Applicable Versions
yum-zabbix Applicable Versions
yum_dag Applicable Versions
yum_mesosphere Applicable Versions
yum_mysql_community Applicable Versions
yum_utils Applicable Versions
yumrepo Applicable Versions
yumserver Applicable Versions
zabbix Applicable Versions
zabbix-agent Applicable Versions
zabbix3 Applicable Versions
zendserver Applicable Versions
zenoss Applicable Versions
zeromq Applicable Versions
zfsonlinux Applicable Versions
zncrypt Applicable Versions
zookeeperd Applicable Versions

yum Cookbook CHANGELOG

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

v3.10.0 (2016-02-04)

  • Add a new sensitive attribute to the repository resource so prevent writing the diff of the config to Chef output / logs
  • Update testing dependencies and remove the Guardfile / Guard dependencies

v3.9.0 (2016-01-14)

  • Added dnf_yum_compat recipe to ensure yum is installed on Fedora systems for Chef package resource compatibility. This will no longer be necessary when native dnf package support ships in chef-client.

v3.8.2 (2015-10-28)

  • #141 - Replace clean_headers with clean_metadata

v3.8.1 (2015-10-28)

  • Fixing up Chef13 deprecation warnings

v3.8.0 (2015-10-13)

  • adding clean_headers boolean property to yum_resource
  • restoring Chef 10 backwards compat for the sake of ChefSpec
  • (unique resource names needed to avoid cloning)
  • Fixing localpkg_gpgcheck values

v3.7.1 (2015-09-08)

  • #135 - reverting "yum clean headers" as it breaks dnf compat

v3.7.0 (2015-09-05)

  • Adding deltarpm toggle
  • Cleaning 'headers' rather than 'all'

v3.6.3 (2015-07-13)

  • Normalizing sslverify option rendering behavior
  • Setting default value on the resource to nil
  • Explictly setting string to render in template if value is supplied
  • Behavior should default to "True", per man page

v3.6.2 (2015-07-13)

  • Adding -y to makecache, to import key when repo_gpgcheck = true.
  • Accepting Integer value for max_retries

v3.6.1 (2015-06-04)

  • Executing yum clean before makecache
  • Adding repo_gpgcheck

v3.6.0 (2015-04-23)

  • Adding "yum clean" before "yum makecache" in yum_repository :create
  • Adding why_run support to yum_globalconfig

v3.5.4 (2015-04-07)

  • Changing tolerant config line to stringified integer

v3.5.3 (2015-01-16)

  • Adding reposdir to globalconfig template

v3.5.2 (2014-12-24)

  • Fixing redhat-release detection for Redhat 7

v3.5.1 (2014-11-24)

  • Reverting management of ca-certificates because EL5 was broken

v3.5.0 (2014-11-24)

  • Adding management of ca-certificates package to yum_repository provider

v3.4.1 (2014-10-29)

  • Run yum-makecache only_if new_resource.enabled
  • Allow setting of reposdir in global yum config and man page
  • Change default 'obsoletes' behavior to match yum defaults

v3.4.0 (2014-10-15)

  • Dynamically generate the new_resource attributes

v3.3.2 (2014-09-11)

  • Fix globalconfig resource param for http_caching

v3.3.1 (2014-09-04)

  • Fix issue with sslverify if set to false
  • Add fancy badges

v3.3.0 (2014-09-03)

  • Adding tuning attributes for all supported resource parameters
  • Adding options hash parameter
  • Adding (real) rhel-6.5 and centos-7.0 to test-kitchen coverage
  • Updating regex for mirror_expire and mirrorlist_expire to include /\d+[mhd]$/
  • Updating README so keepcache reflects reality (defaults to false)
  • Changing 'obsoletes' behavior in globalconfig resource to match
  • default behavior. (now defaults to nil, yum defaults to false)
  • Adding makecache action to repository resource
  • Adding mode parameter to repository resource. Defaults to '0644'.

v3.2.4 (2014-08-20)

  • #82 - Adding a makecache parameter

v3.2.2 (2014-06-11)

  • #77 - Parameter default to be Trueclass instead of "1"
  • #78 - add releasever parameter

v3.2.0 (2014-04-09)

  • [COOK-4510] - Adding username and password parameters to node attributes
  • [COOK-4518] - Fix Scientific Linux distroverpkg

v3.1.6 (2014-03-27)

  • [COOK-4463] - support multiple GPG keys
  • [COOK-4364] - yum_repository delete action fails

v3.1.4 (2014-03-12)

  • [COOK-4417] Expand test harness to encompass 32-bit boxes

v3.1.2 (2014-02-23)

Fixing bugs around :delete action and cache clean Fixing specs to cover :remove and :delete aliasing properly Adding Travis-ci build matrix bits

v3.1.0 (2014-02-13)

  • Updating testing harness for integration testing on Travis-ci
  • Adding TESTING.md and Guardfile
  • PR #67 - Add skip_if_unvailable repository option
  • PR #64 - Fix validation of 'metadata_expire' option to match documentation
  • [COOK-3591] - removing node.name from repo template rendering
  • [COOK-4275] - Enhancements to yum cookbook
  • Adding full spec coverage
  • Adding support for custom source template to yum_repository

v3.0.8 (2014-01-27)

Fixing typo in default.rb. yum_globalconfig now passes proxy attribute correctly.

v3.0.6 (2014-01-27)

Updating default.rb to consume node['yum']['main']['proxy']

v3.0.4 (2013-12-29)

Bug

  • COOK-4156 - yum cookbook creates a yum.conf with "cachefir" directive

v3.0.2

Updating globalconfig provider for Chef 10 compatability

v3.0.0

3.0.0 Major rewrite with breaking changes. Recipes broken out into individual cookbooks yum_key resource has been removed yum_repository resource now takes gpgkey as a URL directly yum_repository actions have been reduced to :create and :delete 'name' has been changed to repositoryid to avoid ambiguity chefspec test coverage gpgcheck is set to 'true' by default and must be explicitly disabled

v2.4.4

Reverting to Ruby 1.8 hash syntax.

v2.4.2

[COOK-3275] LWRP repository.rb :add method fails to create yum repo in some cases which causes :update to fail Amazon rhel

v2.4.0

Improvement

  • [COOK-3025] - Allow per-repo proxy definitions

v2.3.4

Improvement

  • COOK-3689 - Fix warnings about resource cloning
  • COOK-3574 - Add missing "description" field in metadata

v2.3.2

Bug

  • COOK-3145 - Use correct download URL for epel key_url

v2.3.0

New Feature

  • [COOK-2924]: Yum should allow type setting in repo file

v2.2.4

Bug

  • [COOK-2360]: last commit to yum_repository changes previous behaviour
  • [COOK-3015]: Yum cookbook test minitest to fail

v2.2.2

Improvement

  • [COOK-2741]: yum::elrepo
  • [COOK-2946]: update tests, test kitchen support in yum cookbook

Bug

  • [COOK-2639]: Yum cookbook - epel - always assumes url is a mirror list
  • [COOK-2663]: Yum should allow metadata_expire setting in repo file
  • [COOK-2751]: Update yum.ius_release version to 1.0-11

v2.2.0

  • [COOK-2189] - yum::ius failed on install (caused from rpm dependency)
  • [COOK-2196] - Make includepkgs and exclude configurable for each repos
  • [COOK-2244] - Allow configuring caching using attributes
  • [COOK-2399] - yum cookbook LWRPs fail FoodCritic
  • [COOK-2519] - Add priority option to Yum repo files
  • [COOK-2593] - allow integer or string for yum priority
  • [COOK-2643] - don't use conditional attribute for yum_key remote_file

v2.1.0

  • [COOK-2045] - add remi repository recipe
  • [COOK-2121] - add :create action to yum_repository

v2.0.6

  • [COOK-2037] - minor style fixes
  • [COOK-2038] - updated README

v2.0.4

  • [COOK-1908] - unable to install repoforge on CentOS 6 32 bit

v2.0.2

  • [COOK-1758] - Add default action for repository resource

v2.0.0

This version changes the behavior of the EPEL recipe (most commonly used in other Chef cookbooks) on Amazon, and removes an attribute, node['yum']['epel_release']. See the README for details.
- [COOK-1772] - Simplify management of EPEL with LWRP

v1.0.0

mirrorlist in the yum_repository LWRP must be set to the mirror list URI to use rather than setting it to true. See README.md.
- [COOK-1088] - use dl.fedoraproject.org for EPEL to prevent redirects
- [COOK-1653] - fix mirrorlist
- [COOK-1710] - support http proxy
- [COOK-1722] - update IUS version

v0.8.2

  • [COOK-1521] - add :update action to yum_repository

v0.8.0

  • [COOK-1204] - Make 'add' default action for yum_repository
  • [COOK-1351] - option to not make the yum cache (via attribute)
  • [COOK-1353] - x86_64 centos path fixes
  • [COOK-1414] - recipe for repoforge

v0.6.2

  • Updated README to remove git diff artifacts.

v0.6.0

  • Default action for the yum_repository LWRP is now add.
  • [COOK-1227] - clear Chefs internal cache after adding new yum repo
  • [COOK-1262] - yum::epel should enable existing repo on Amazon Linux
  • [COOK-1272], [COOK-1302] - update RPM file for CentOS / RHEL 6
  • [COOK-1330] - update cookbook documentation on excludes for yum
  • [COOK-1346] - retry remote_file for EPEL in case we get an FTP mirror

v0.5.2

  • [COOK-825] - epel and ius remote_file should notify the rpm_package to install

v0.5.0

  • [COOK-675] - add recipe for handling EPEL repository
  • [COOK-722] - add recipe for handling IUS repository

v.0.1.2

  • Remove yum update in default recipe, that doesn't update caches, it updates packages installed.

Foodcritic Metric
            

3.10.0 passed this metric