cookbook 'codenamephp_mysql', '~> 2.0.2'
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.
codenamephp_mysql (13) Versions 2.0.2 Follow0
A cookbook to install mariadb on debian.
cookbook 'codenamephp_mysql', '~> 2.0.2', :supermarket
knife supermarket install codenamephp_mysql
knife supermarket download codenamephp_mysql
Chef Cookbook MySQL
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
2.0.2 failed this 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
2.0.2 failed this metric
Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations
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
2.0.2 failed this 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