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


percona-multi (3) Versions 0.1.2

Provides Percona master/slave replication services

cookbook 'percona-multi', '~> 0.1.2'
cookbook 'percona-multi', '~> 0.1.2', :supermarket
knife supermarket install percona-multi
knife supermarket download percona-multi
Quality 50%


Chef wrapper cookbook to create Percona master/slave server setups. This wrapper should work on all Debian and RHEL platform family OS's.


This cookbook works as a wrapper around the community Percona cookbook to allow for the creation of master/slave and master/multi-slave Percona systems.

This cookbook utilizes two recipes depending on the server's defined role.

master.rb : sets up a master Percona server and creates replicant users for each slave node defined within the attributes

slave.rb : sets up a slave Percona server pointing it to the master node defined within attributes.

There is no search function within this cookbook. The IP addresses of the master and slave nodes must be defined in attributes before it will converge.

Keep in mind that passwords have to be set via encrypted data bags as outlined in the percona cookbook

There is no search function within this cookbook. The IP addresses for the servers has to be set as attributes and build order becomes important.Your orchestration layer should build the servers, then the IP addresses should be set as attributes, then the master node should then be converged prior to converging the slave nodes.


Local attributes --

['percona']['master'] : sets the IP address that defines the master node

['percona']['slaves'] : is any array that defines the IP address(es) of the slave node(s).

Percona cookbook attributes to be aware of --

['percona']['server']['bind_to'] : should be set to "private_ip" vice default of "public_ip" to ensure Percona is listening on the internal IP's only.

License & Authors

Copyright:: 2015 Rackspace US, 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.

percona-multi CHANGELOG

This file is used to list changes made in each version of the percona-multi cookbook.


Bump to restrict version of percona cookbook for issue


Bump to release to fix supermarket


Initial release of percona-multi

Collaborator Number Metric

0.1.2 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

0.1.2 passed this metric

Foodcritic Metric

0.1.2 failed this metric

FC122: Use the build_essential resource instead of the recipe: percona-multi/recipes/slave.rb:26
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.1.2 passed this metric

Publish Metric

0.1.2 passed this metric

Supported Platforms Metric

0.1.2 failed this metric

percona-multi should declare what platform(s) it supports.

Testing File Metric

0.1.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

0.1.2 passed this metric