cookbook 'mysql2_chef_gem', '= 0.1.0'
mysql2_chef_gem (9) Versions 0.1.0 Follow19
Provides the mysql2_chef_gem resource
cookbook 'mysql2_chef_gem', '= 0.1.0', :supermarket
knife supermarket install mysql2_chef_gem
knife supermarket download mysql2_chef_gem
Mysql2 Chef Gem Installer Cookbook
Scope
This cookbook automatize the mysql2 gem installation for a chef managed install
Requirements
- Chef 11 or higher
- Ruby 1.9 (preferably from the Chef full-stack installer)
cookbook::recipe
-
mysql::client
- this recipe is needed if you want to link the mysql2 gem to a mysql client library -
mariadb::client
- this recipe is needed if you want to link the mysql2 gem to a mariadb client library -
centos
- not fully tested on centos, but should work
Resources / Providers
Example
include_recipe 'mysql2_chef_gem'
Recipes
mysql2_chef_gem::default
This recipe call the installation of the mysql2 gem, using the mysql cookbook (call mysql::client to install needed development files)
mysql2_chef_gem::mariadb
This recipe call the installation of the mysql2 gem, using the mariadb cookbook (call mariadb::client to install needed development files)
Usage
Use it in your wrapper cookbook:
include_recipe 'mysql2_chef_gem'
or
include_recipe 'mysql2_chef_gem::mariadb'
Authors
- Author:: Sean OMeara (someara@opscode.com)
- Author:: Nicolas Blanc(sinfomicien@gmail.com)
crossplat CHANGELOG
This file is used to list changes made in each version of the crossplat cookbook.
v0.1.0 (2014-09-15)
- Correct documentation
- Correct rubocop offenses
v0.0.3 (2014-09-12)
- Initial release (copy of mysql-chef_gem, but for mysql2)
Foodcritic Metric
0.1.0 passed this metric
0.1.0 passed this metric