cookbook 'codenamephp_mysql', '= 1.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 1.0.2 Follow0
A cookbook to install mariadb on debian.
cookbook 'codenamephp_mysql', '= 1.0.2', :supermarket
knife supermarket install codenamephp_mysql
knife supermarket download codenamephp_mysql
Chef Cookbook MySQL
The default cookbook installs mysql/mariadb. The install method right now is only "package", although docker is planned for the future.
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 Stretch
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 mysql-server and mysql-client package from whatever source is configured in the os. It also makes sure the mysql 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.
5.6
The 5.6 cookbook adds the official oracle apt repository for version 5.6 before installing the mysql-server and mysql client package. It also makes sure the mysql 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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Change Log
Unreleased
Implemented enhancements:
- Oracle Repo: Tests are flakey #13
- [RELEASE 1.0.2] #14 (bastianschwarz)
Fixed bugs:
- \[RELEASE 1.0.2\] #14 (bastianschwarz)
v1.0.1 (2018-08-25)
Implemented enhancements:
- 5.6: Make sure dirmngr is installed #11
Merged pull requests:
- [RELEASE 1.0.1] #12 (bastianschwarz)
v1.0.0 (2018-08-25)
Implemented enhancements:
Merged pull requests:
- Updated github token for travis #10 (bastianschwarz)
- RELEASE 1.0.0 #9 (bastianschwarz)
v0.0.9 (2017-12-24)
Merged pull requests:
- Bumped cookbook version for release #6 (bastianschwarz)
0.0.9 (2017-12-24)
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:
- Release 0.0.9 #4 (bastianschwarz)
v0.0.8 (2017-12-23)
v0.0.5 (2017-12-23)
v0.0.4 (2017-12-23)
v0.0.2 (2017-12-17)
v0.0.1 (2017-12-17)
* This Change Log was automatically generated by github_changelog_generator
Collaborator Number Metric
1.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
1.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
Foodcritic Metric
1.0.2 passed this metric
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.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
1.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
1.0.2 failed this metric
1.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
Foodcritic Metric
1.0.2 passed this metric
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.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
1.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
1.0.2 passed this metric
1.0.2 passed this metric
Testing File Metric
1.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
1.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
1.0.2 failed this metric
1.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