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


mariadb (78) Versions 0.2.0

Installs/Configures MariaDB

cookbook 'mariadb', '= 0.2.0', :supermarket
cookbook 'mariadb', '= 0.2.0'
knife supermarket install mariadb
knife supermarket download mariadb
Quality 100%

MariaDB Cookbook

Build Status


This cookbook contains all the stuffs to install and configure a mariadb server on a dpkg/apt compliant system (typically debian), or a rpm/yum compliant system (typically centos)



  • mariadb - This cookbook need that you have a valid apt repository installed with the mariadb official packages


  • percona-xtrabackup - if you want to use the xtrabckup SST Auth for galera cluster.
  • socat - if you want to use the xtrabckup SST Auth for galera cluster.
  • rsync - if you want to use the rsync SST Auth for galera cluster.

operating system

  • debian - this cookbook is fully tested on debian
  • ubuntu - not fully tested on ubuntu, but should work
  • centos - not fully tested on centos, but should work



<td>Version to install (currently 10.0 et 5.5)</td>


To install a default server for mariadb choose the version you want (MariaDB 5.5 or 10, galera or not), then call the recipe accordingly.

List of availables recipes:

  • mariadb::default (just call server recipe with default options)
  • mariadb::server
  • mariadb::galera
  • mariadb::client


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Nicolas Blanc

Dependent cookbooks

apt >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

abiquo Applicable Versions
database_application Applicable Versions
dvwa Applicable Versions
fivem Applicable Versions
kloudspeaker Applicable Versions
letsencrypt-boulder-server Applicable Versions
mysql2_chef_gem Applicable Versions
mysql_chef_gem Applicable Versions
openstack-common Applicable Versions
openstack-ops-database Applicable Versions
slurm Applicable Versions


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


  • [nicolas.blanc] - Add rpm/yum management
  • [nicolas.blanc] - Refactor the whole recipes list and management to ease it
  • [nicolas.blanc] - Correct the Documentation
  • [nicolas.blanc] - Rename the provider (from extraconf to configuration), and add matchers to it
  • [nicolas.blanc] - Add a recipe to manage client only installation
  • [nicolas.blanc] - Refactor all tests to manage new platform (centos/redhat/fedora)


  • [nicolas.blanc] - Add ignore-failure to debian grants correct, as it can break on initial setup


  • [nicolas.blanc] - Correct a typo (unnecessary call to run_command)


  • [nicolas.blanc] - improve Galera configuration management
  • [nicolas.blanc] - Add new rspec tests
  • [nicolas.blanc] - Create Kitchen test suite


  • [nicolas.blanc] - improve attributes management


  • [nicolas.blanc] - adapt galera55 recipe to use a generic galera recipe
  • [nicolas.blanc] - use a generic galera recipe to create the galera10 recipe
  • [nicolas.blanc] - Improve documentation


  • [nicolas.blanc] - Initial release of mariadb

Foodcritic Metric

0.2.0 passed this metric