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

The codenamephp_mysql cookbook has been deprecated

Author provided reason for deprecation:

The codenamephp_mysql cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_mysql cookbook is no longer recommended.

RSS

codenamephp_mysql (13) Versions 2.0.2

A cookbook to install mariadb on debian.

Policyfile
Berkshelf
Knife
cookbook 'codenamephp_mysql', '~> 2.0.2', :supermarket
cookbook 'codenamephp_mysql', '~> 2.0.2'
knife supermarket install codenamephp_mysql
knife supermarket download codenamephp_mysql
README
Dependencies
Quality 17%

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.

Collaborator Number Metric
            

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

Cookstyle Metric
            

2.0.2 failed this metric

Chef/Modernize/IncludingAptDefaultRecipe: Do not include the Apt default recipe to update package cache. Instead use the apt_update resource, which is built into Chef Infra Client 12.7 and later. (https://docs.chef.io/workstation/cookstyle/chef_modernize_includingaptdefaultrecipe): codenamephp_mysql/recipes/default.rb: 9

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

2.0.2 passed this metric

Testing File Metric
            

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

Version Tag Metric
            

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