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1
- 6.1.0
- 6.0.0
- 5.1.0
- 5.0.1
- 5.0.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.2
- 3.8.1
- 3.8.0
- 3.7.1
- 3.7.0
- 3.6.3
- 3.6.2
- 3.6.1
- 3.6.0
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.1
- 3.4.0
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.4
- 3.2.2
- 3.2.0
- 3.1.6
- 3.1.4
- 3.1.2
- 3.1.0
- 3.0.6
- 3.0.4
- 3.0.2
- 3.0.0
- 2.4.4
- 2.4.2
- 2.4.0
- 2.3.4
- 2.3.2
- 2.3.0
- 2.2.4
- 2.2.2
- 2.2.0
- 2.1.0
- 2.0.6
- 2.0.4
- 2.0.2
- 2.0.0
- 1.0.0
- 0.8.2
- 0.8.0
- 0.6.2
- 0.6.0
- 0.5.2
- 0.5.0
- 0.1.2
- 0.1.1
- 0.1.0
Configures various yum components on Red Hat-like systems
cookbook 'yum', '= 2.3.4', :supermarket
knife supermarket install yum
knife supermarket download yum
yum Cookbook
Configures various YUM components on Red Hat-like systems. Includes LWRP for managing repositories and their GPG keys.
Based on the work done by Eric Wolfe and Charles Duffy on the yumrepo cookbook.
Requirements
Red Hat Enterprise Linux 5, and 6 distributions within this platform family.
Attributes
-
yum['exclude']
- An array containing a list of packages to exclude from updates or installs. Wildcards and shell globs are supported.
- Defaults to an empty exclude list.
-
yum['installonlypkgs']
- An array containing a list of packages which should only be installed, never updated.
- Defaults to an empty install-only list.
-
yum['ius_release']
- Set the IUS release to install.
- Defaults to the current release of the IUS repo.
-
yum['repoforge_release']
- Set the RepoForge release to install.
- Defaults to the current release of the repoforge repo.
EPEL attributes used in the yum::epel
recipe, see attributes/epel.rb
for default values:
-
yum['epel']['key']
- Name of the GPG key used for the repo.
-
yum['epel']['baseurl']
- Base URL to an EPEL mirror.
-
yum['epel']['url']
- URL to the EPEL mirrorlist.
-
yum['epel']['key_url']
- URL to the GPG key for the repo.
-
yum['epel']['includepkgs']
- list of packages you want to use for the repo.
-
yum['epel']['exclude']
- list of packages you do NOT want to use for the repo.
The node['yum']['epel_release']
attribute is removed, see the epel recipe information below.
remi attributes used in the yum::remi
recipe, see attributes/remi.rb
for default values:
-
yum['remi']['key']
- Name of the GPG key used for the repo.
-
yum['remi']['url']
- URL to the remi mirrorlist.
-
yum['remi']['key_url']
- URL to the GPG key for the repo.
-
yum['remi']['includepkgs']
- list of packages you want to use for the repo.
-
yum['remi']['exclude']
- list of packages you do NOT want to use for the repo.
Proxy settings used in yum.conf on RHEL family 5 and 6:
-
yum['proxy']
- Set the URL for an HTTP proxy
- None of the proxy settings are used if this is an empty string (default)
-
yum['proxy_username']
- Set the username for the proxy
- not used if
yum['proxy']
above is an empty string
-
yum['proxy_password']
- Set the password for the proxy
- not used if
yum['proxy']
above is an empty string
Recipes
default
The default recipe does nothing.
yum
Manages the configuration of the /etc/yum.conf
via attributes. See the aforementioned Array attributes yum['exclude']
and yum['installonlypkgs']
.
epel
Uses the yum_key
and yum_repository
resources from this cookbook are used to manage the main EPEL repository. If you need other EPEL repositories (source, debug-info), use the yum_repository
LWRP in your own cookbook where those packages are required. The recipe will use the yum['epel']
attributes (see above) to configure the key, url and download the GPG key for the repo. The defaults are detected by platform and version and should just work without modification in most use cases.
On all platforms except Amazon, the action is to add the repository. On Amazon, the action is add and update.
Amazon Linux has the EPEL repositories already added in the AMI. In previous versions of this cookbook, they were enabled with yum-config-manager
, however in the current version, we manage the repository using the LWRP. The main difference is that the source and debuginfo repositories are not available, but if they're needed, add them using the yum_repository
LWRP in your own cookbook(s).
ius
Installs the IUS Community repositories via RPM. Uses the node['yum']['ius_release']
attribute to select the right version of the package to install.
The IUS repository requires EPEL, and includes yum::epel
as a dependency.
repoforge
Installs the RepoForge repositories via RPM. Uses the node['yum']['repoforge_release']
attribute to select the right version of the package to install.
The RepoForge repository requires EPEL, and includes yum::epel
as a dependency.
remi
Install the Les RPM de Remi - Repository with the yum_key
and yum_repository
resources from this cookbook are used to manage the remi repository. Use the yum['remi']
attributes (see above) to configure the key, url and download the GPG key for the repo. The defaults are detected by platform and should just work without modification in most use cases.
Resources/Providers
yum_key
This LWRP handles importing GPG keys for YUM repositories. Keys can be imported by the url
parameter or placed in /etc/pki/rpm-gpg/
by a recipe and then installed with the LWRP without passing the URL.
Actions
- :add: installs the GPG key into
/etc/pki/rpm-gpg/
- :remove: removes the GPG key from
/etc/pki/rpm-gpg/
Attribute Parameters
- key: name attribute. The name of the GPG key to install.
- url: if the key needs to be downloaded, the URL providing the download.
Example
# add the Zenoss GPG key yum_key "RPM-GPG-KEY-zenoss" do url "http://dev.zenoss.com/yum/RPM-GPG-KEY-zenoss" action :add end # remove Zenoss GPG key yum_key "RPM-GPG-KEY-zenoss" do action :remove end
yum_repository
This LWRP provides an easy way to manage additional YUM repositories. GPG keys can be managed with the yum_key
LWRP. The LWRP automatically updates the package management cache upon the first run, when a new repo is added.
Actions
- :create: creates a repository file and builds the repository listing
- :add: runs create action if repository file is missing (default)
- :remove: removes the repository file
- :update: updates the repository
Attribute Parameters
- repo_name: name attribute. The name of the channel to discover
- description. The description of the repository
- url: The URL providing the packages, used for baseurl in the config
- mirrorlist: Set this as a string containing the URI to the mirrorlist, start with "http://", "ftp://", "file://"; use "file://" if the mirrorlist is a text file on the system.
- key: Optional, the name of the GPG key file installed by the
key
LWRP. - enabled: Default is
1
, set to0
if the repository is disabled. - type: Optional, alternate type of repository
- failovermethod: Optional, failovermethod
- bootstrapurl: Optional, bootstrapurl
- make_cache: Optional, Default is
true
, iffalse
thenyum -q makecache
will not be ran - metadata_expire: Optional, Default is nil (or not applied)
- type: Optional, Default is nil (or not applied)
Note: When using both url (to set baseurl) and mirrorlist, it is probably a good idea to also install the fastestmirror plugin, and use failovermethod "priority".
Example
# add the Zenoss repository yum_repository "zenoss" do repo_name "zenoss" description "Zenoss Stable repo" url "http://dev.zenoss.com/yum/stable/" key "RPM-GPG-KEY-zenoss" action :add end # remove Zenoss repo yum_repository "zenoss" do action :remove end
Usage
Put recipe[yum::yum]
in the run list to ensure yum is configured correctly for your environment within your Chef run.
Use the yum::epel
recipe to enable EPEL, or the yum::ius
recipe to enable IUS, or the yum::repoforge
recipe to enable RepoForge, or the yum::remi
recipe to enable remi per Recipes section above.
You can manage GPG keys either with cookbook_file in a recipe if you want to package it with a cookbook or use the url
parameter of the key
LWRP.
License & Authors
- Author:: Eric G. Wolfe
- Author:: Matt Ray (matt@opscode.com)
- Author:: Joshua Timberman (joshua@opscode.com)
Copyright:: 2010 Tippr Inc. Copyright:: 2011 Eric G. Wolfe Copyright:: 2011-2012 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
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
- 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