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

RSS

yum (65) Versions 0.6.0

Configures various yum components on Red Hat-like systems

Berkshelf/Librarian
Policyfile
Knife
cookbook 'yum', '= 0.6.0'
cookbook 'yum', '= 0.6.0', :supermarket
knife cookbook site install yum
knife cookbook site download yum
README
Dependencies
Quality -%

Yum

Description

Configures various YUM components on Red Hat-like systems. Includes LWRP for managing repositories and their GPG keys.

<<<<<<< HEAD

Requirements

RHEL, CentOS or Scientific Linux 5.x or newer, or Amazon Linux. It has not been tested on other platforms or earlier versions. RHEL 6 support is untested (testing and patches are welcome).

Based on the work done by Eric Wolfe and Charles Duffy on the yumrepo cookbook.

yum.exclude usage and documentation is not clear.

Requirements

RedHat 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['epel_release']

    • Set the epel release version based on node['platform_version'].
    • Defaults to the most current release of EPEL, based on the major version of your platform release.

<<<<<<< HEAD On RHEL, CentOS, or Scientific Linux, installs the EPEL repository via RPM. Uses the node['yum']['epel_release'] attribute to select the right version of the repository package to install. Also uses the node's platform version (as an integer) for the major release of EL.

On Amazon Linux, the built-in EPEL repository is activated using yum-config-manager --quiet --enable epel. This ignores the node['yum']['epel_release'] attribute in favor of the version configured in the Amazon Linux AMI.

  • yum['ius_release']
    • Set the IUS release to install.
    • Defaults to the current release of the IUS repo. >>>>>>> yum.exclude usage and documentation is not clear.

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

Installs the EPEL repository via RPM. Uses the yum['epel_release'] attribute to select the right version of the repository package to install. Also uses the node's platform version (as an integer) for the major release of EL.

ius

Installs the IUS Community repositories via RPM. Uses the node['yum']['ius_release'] attribute to select the right versino of the package to install.

The IUS repository requires EPEL, and includes yum::epel as a dependency.

Resources/Providers

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

repository

This LWRP provides an easy way to manage additional YUM repositories. GPG keys can be managed with the key LWRP. The LWRP automatically updates the package management cache upon the first run, when a new repo is added.

Actions

  • :add: creates a repository file and builds the repository listing
  • :remove: removes the repository file

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
  • mirrorlist: Default is false, if true the url is considered a list of mirrors
  • key: Optional, the name of the GPG key file installed by the key LWRP.

  • enabled: Default is 1, set to 0 if the repository is disabled.

  • type: Optional, alternate type of repository

  • failovermethod: Optional, failovermethod

  • bootstrapurl: Optional, bootstrapurl

Example

# add the Zenoss repository
yum_repository "zenoss" do
  name "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.

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 and Author

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 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
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
couchbase Applicable Versions
couchbase-ng Applicable Versions
couchdb Applicable Versions
crenv Applicable Versions
datadog Applicable Versions
dbench Applicable Versions
diamond Applicable Versions
dirsrv Applicable Versions
docker Applicable Versions
dotnet-core Applicable Versions
dse Applicable Versions
ejabberd Applicable Versions
el2centos Applicable Versions
elastic-heartbeat Applicable Versions
elastic_beats_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
gecode Applicable Versions
gflags Applicable Versions
git Applicable Versions
gitlab Applicable Versions
gitlab-ci-runner Applicable Versions
gitlab-server Applicable Versions
gitlab_runner 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_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
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
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
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
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
vmwaretools 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-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

No quality metric results found