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


yum-mysql-community (28) Versions 0.1.20

Installs/Configures yum-mysql-community

cookbook 'yum-mysql-community', '= 0.1.20'
cookbook 'yum-mysql-community', '= 0.1.20', :supermarket
knife cookbook site install yum-mysql-community
knife cookbook site download yum-mysql-community
Quality 100%

yum-mysql-community Cookbook

Build Status Cookbook Version

The yum-mysql-community cookbook takes over management of the default repository ids shipped with epel-release. It allows attribute manipulation of mysql-connectors-community, mysql56-community, and mysql57-community-dmr.



  • RHEL/CentOS and derivatives
  • Fedora


  • Chef 11+


  • yum version 3.0.0 or higher
  • yum-epel


The following attributes are set by default

default['yum']['mysql-connectors-community']['repositoryid'] = 'mysql-connectors-community'
default['yum']['mysql-connectors-community']['description'] = 'MySQL Connectors Community'
default['yum']['mysql-connectors-community']['baseurl'] = '$releasever/$basearch/'
default['yum']['mysql-connectors-community']['gpgkey'] = ''
default['yum']['mysql-connectors-community']['failovermethod'] = 'priority'
default['yum']['mysql-connectors-community']['gpgcheck'] = true
default['yum']['mysql-connectors-community']['enabled'] = true
default['yum']['mysql56-community']['repositoryid'] = 'mysql56-community'
default['yum']['mysql56-community']['description'] = 'MySQL 5.6 Community Server'
default['yum']['mysql56-community']['baseurl'] = '$releasever/$basearch/'
default['yum']['mysql56-community']['gpgkey'] = ''
default['yum']['mysql56-community']['failovermethod'] = 'priority'
default['yum']['mysql56-community']['gpgcheck'] = true
default['yum']['mysql56-community']['enabled'] = true
default['yum']['mysql57-community-dmr']['repositoryid'] = 'mysql57-community-dmr'
default['yum']['mysql57-community-dmr']['description'] = 'MySQL 5.7 Community Server Development Milestone Release'
default['yum']['mysql57-community-dmr']['baseurl'] = '$releasever/$basearch/'
default['yum']['mysql57-community-dmr']['gpgkey'] = ''
default['yum']['mysql57-community-dmr']['failovermethod'] = 'priority'
default['yum']['mysql57-community-dmr']['gpgcheck'] = true
default['yum']['mysql57-community-dmr']['enabled'] = true


  • mysql55 - Sets up the mysql56-community repository on supported
  • platforms
  yum_repository 'mysql55-community' do
    mirrorlist '$releasever/$basearch/'
    description ''
    enabled true
    gpgcheck true
  • mysql56 - Sets up the mysql56-community repository on supported
  • platforms
  yum_repository 'mysql56-community' do
    mirrorlist '$releasever/$basearch/'
    description ''
    enabled true
    gpgcheck true
  • connectors - Sets up the mysql-connectors-community repository on supported
  • platforms

Usage Example

To disable the epel repository through a Role or Environment definition

  :yum => {
    :mysql57-community-dmr => {
      :enabled => {

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']['mysql57-community-dmr']['enabled'] = true
node.default['yum']['mysql57-community-dmr']['managed'] = true
include_recipe 'mysql57-community-dmr'

More Examples

Point the mysql56-community repositories at an internally hosted server.

node.default['yum']['mysql56-community']['enabled'] = true
node.default['yum']['mysql56-community']['mirrorlist'] = nil
node.default['yum']['mysql56-community']['baseurl'] = ''
node.default['yum']['mysql56-community']['sslverify'] = false

include_recipe 'mysql56-community'

License & Authors

Author: Cookbook Engineering Team (

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

yum-mysql-community Cookbook CHANGELOG

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

v0.1.20 (2015-11-30)

  • Fixed attributes with a false value not being passed

v0.1.19 (2015-10-28)

  • Fixing Chef 13 nil property deprecation warnings

v0.1.18 (2015-09-21)

  • Added Travis CI config for lint and unit testing
  • Added Chef standard Rubocop file and resolved all warnings
  • Added Chef standard chefignore and .gitignore files
  • Add supported platforms to the metadata
  • Added source_url and issues_url to the metadata
  • Added long_description to the metadata
  • Updated and expanded development dependencies in the Gemfile
  • Added contributing, testing, and maintainers docs
  • Added platform requirements to the readme
  • Added Travis and cookbook version badges to the readme
  • Update Chefspec to 4.X format

v0.1.17 (2015-04-06)

  • Updating pubkey link from someara to chef-client github orgs

v0.1.16 (2015-03-25)

  • Adding support Amazon Linux 2015.03 to all channels

v0.1.15 (2015-03-25)

  • Added support for amazon linux 2015.03

v0.1.14 (2015-03-12)

  • The content of 0.1.13 is questionable: didn't have changelog entry, may have had merged attribute change, but let's be clear and say at least this version 0.1.14 is the right thing.

v0.1.13 (2015-03-12)

  • #3 corrected typo in public key attribute

v0.1.12 (2015-01-20)

  • Minor style updates

v0.1.11 (2014-07-21)

  • Adding RHEL-7 support

v0.1.10 (2014-07-21)

  • Adding mysql-5.7 and centos 7 support

v0.1.8 (2014-06-18)

  • Updating to support real RHEL

v0.1.6 (2014-06-16)

Fixing typo in mysql55-community attributes

v0.1.4 (2014-06-13)

  • updating url to keys in cookbook attributes

v0.1.2 (2014-06-11)

1 - Move files/mysql_pubkey.asc to files/default/mysql_pubkey.asc

v0.1.0 (2014-04-30)

Initial release

v0.3.6 (2014-04-09)

  • [COOK-4509] add RHEL7 support to yum-mysql-community 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


Adding Amazon Linux support


Fixing up attribute values for EL6




initial release

Foodcritic Metric

0.1.20 passed this metric