1 line
5.1 KiB
JSON
1 line
5.1 KiB
JSON
{"name":"mysql2_chef_gem","version":"1.1.0","description":"Provides the mysql2_chef_gem resource","long_description":"Mysql2 Chef Gem Installer Cookbook\n==================================\n\n[](https://travis-ci.org/sinfomicien/mysql2_chef_gem)\n[](https://supermarket.chef.io/cookbooks/mysql2_chef_gem)\n\nmysql2_chef_gem is a library cookbook that provides an LWRP for use\nin recipes. It provides a wrapper around `chef_gem` called\n`mysql2_chef_gem` that eases the installation process, collecting the\nprerequisites and side-stepping the compilation phase arms race.\n\nScope\n-----\nThis cookbook is concerned with the installation of the `mysql2`\nRubygem into Chef's gem path. Installation into other Ruby\nenvironments, or installation of related gems such as `mysql` are\noutside the scope of this cookbook.\n\nRequirements\n------------\n* Chef 11 or higher\n* Ruby 1.9 (preferably from the Chef full-stack installer)\n\nPlatform Support\n----------------\nThe following platforms have been tested with Test Kitchen and are\nknown to work.\n\n```\n|---------------------------------------+-----+-----+-----+-----+-----|\n| | 5.0 | 5.1 | 5.5 | 5.6 | 5.7 |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / centos-5 | X | | | X | X |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / centos-6 | | X | X | X | X |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / centos-7 | | | X | X | X |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / fedora-20 | | | X | X | X |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / debian-7 | | | X | | |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / ubuntu-10.04 | | X | | | |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / ubuntu-12.04 | | | X | | |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mysql / ubuntu-14.04 | | | X | X | |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mariadb / fedora-20 | | | X | | |\n|---------------------------------------+-----+-----+-----+-----+-----|\n| Mysql2ChefGem::Mariadb / ubuntu-14.04 | | | X | | |\n|---------------------------------------+-----+-----+-----+-----+-----|\n```\n\nUsage\n-----\nPlace a dependency on the mysql cookbook in your cookbook's metadata.rb\n```ruby\ndepends 'mysql2_chef_gem', '~> 1.0'\n```\n\nThen, in a recipe:\n\n```ruby\nmysql2_chef_gem 'default' do\n action :install\nend\n```\n\nResources Overview\n------------------\n### mysql2_chef_gem\n\nThe `mysql2_chef_gem` resource the build dependencies and installation\nof the `mysql2` rubygem into Chef's Ruby environment\n\n#### Example\n```ruby\nmysql2_chef_gem 'default' do\n gem_version '0.3.17'\n action :install\nend\n```\n#### Parameters\n- `gem_version` - The version of the `mysql` Rubygem to install into\n the Chef environment. Defaults to '0.3.17'\n connector libraries\n- `client_version` - The version of the mysql client libraries to\n install and link against\n\n#### Actions\n- `:install` - Build and install the gem into the Chef environment\n- `:remove` - Delete the gem from the Chef environment\n\n#### Providers\nChef selects a default provider based on platform and version,\nbut you can specify one if your platform support it.\n\n```ruby\nmysql2_chef_gem 'default' do\n provider Chef::Provider::Mysql2ChefGem::Mariadb\n action :install\nend\n```\n\n\nLicense & Authors\n-----------------\n- Author:: Sean OMeara (<someara@chef.io>)\n- Author:: Nicolas Blanc(<sinfomicien@gmail.com>)\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","maintainer":"Nicolas Blanc","maintainer_email":"sinfomicien@gmail.com","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","redhat":">= 0.0.0","centos":">= 0.0.0","scientific":">= 0.0.0","fedora":">= 0.0.0","debian":">= 0.0.0","ubuntu":">= 0.0.0","oracle":">= 0.0.0"},"dependencies":{"build-essential":">= 0.0.0","mysql":">= 6.0","mariadb":">= 0.0.0"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}} |