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

codenamephp_mysql (12) Versions 2.0.1

A cookbook to install mariadb on debian.

Berkshelf
Policyfile
Knife
cookbook 'codenamephp_mysql', '~> 2.0.1'
cookbook 'codenamephp_mysql', '~> 2.0.1', :supermarket
knife supermarket install codenamephp_mysql
knife supermarket download codenamephp_mysql
README
Dependencies
Changelog
Quality 50%

Chef Cookbook MySQL

Build Status

The default cookbook installs mariadb. Yes, only mariadb is installed even though the cookbook is named "mysql" for historic reasons.

Why not mysql cookbook from chef?

At the time this cookbook was created, the mysql cookbook by chef did not support debian stretch. Also, the cookbook provides a whole lot of features ... none of which I plan to use. That's why I decided to create my own cookbook that just caters to my needs.

Requirements

Supported Platforms

  • Debian Buster

Chef

  • Chef 13.1+

Cookbook Depdendencies

None

Usage

Add the cookbook to your Berksfile:

cookbook 'codenamephp_mysql'

Add the cookbook to your runlist, e.g. in a role:

{
  "name": "default",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "run_list": [
      "recipe[codenamephp_mysql]"
  ]
}

Cookbooks

Default

The default cookbook just installs the mariadb-server and mariadb-client package from whatever source is configured in the os. It also makes sure the mariadb service is enabled and started and installs a configuration template that makes sure each innodb table is it's own file since all tables in a single file tends to cause huge db files as the disk space is never freed if a table is deleted. Also the bind_address is reset so we can connect using docker.

Dependent cookbooks

apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Changelog

v2.0.0 (2019-12-03)

Full Changelog

Closed issues:

  • Remove mysql #17
  • Remove bind_address #16
  • Reset root to user/pw authentication #15

Merged pull requests:

v1.0.2 (2018-12-18)

Full Changelog

Implemented enhancements:

v1.0.1 (2018-08-25)

Full Changelog

Implemented enhancements:

  • 5.6: Make sure dirmngr is installed #11

Merged pull requests:

v1.0.0 (2018-08-25)

Full Changelog

Implemented enhancements:

  • MySQL 5.6 #8
  • Auto generate changelog #7

Merged pull requests:

v0.0.9 (2017-12-24)

Full Changelog

Merged pull requests:

0.0.9 (2017-12-24)

Full Changelog

Implemented enhancements:

  • Restrict travis builds to master, dev and PRs #3
  • Restrict travis deployments to master #1
  • Fix #1: Added conditions for master branch to release since releases … #2 (bastianschwarz)

Merged pull requests:

v0.0.8 (2017-12-23)

Full Changelog

v0.0.5 (2017-12-23)

Full Changelog

v0.0.4 (2017-12-23)

Full Changelog

v0.0.2 (2017-12-17)

Full Changelog

v0.0.1 (2017-12-17)

Full Changelog

* This Changelog was automatically generated by github_changelog_generator

Collaborator Number Metric
            

2.0.1 failed this metric

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

Contributing File Metric
            

2.0.1 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

2.0.1 passed this metric

No Binaries Metric
            

2.0.1 passed this metric

Publish Metric
            

2.0.1 passed this metric

Supported Platforms Metric
            

2.0.1 passed this metric

Testing File Metric
            

2.0.1 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 https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

2.0.1 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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number