cookbook 'mysql2_chef_gem', '= 0.1.1'
mysql2_chef_gem (9) Versions 0.1.1 Follow19
Provides the mysql2_chef_gem resource
cookbook 'mysql2_chef_gem', '= 0.1.1', :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
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.
0.1.1 (2014-09-15)
- Correct a typo in documentation
- Correct a test failing with Travis CI
0.1.0 (2014-09-15)
- Correct documentation
- Correct rubocop offenses
0.0.3 (2014-09-12)
- Initial release (copy of mysql-chef_gem, but for mysql2)
Foodcritic Metric
0.1.1 passed this metric
0.1.1 passed this metric