GithubHelp home page GithubHelp logo

isabella232 / mysql_chef_gem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chef-boneyard/mysql_chef_gem

0.0 0.0 0.0 83 KB

DEPRECATED: Development repository for Chef Cookbook mysql_chef_gem

Home Page: https://supermarket.chef.io/cookbooks/mysql_chef_gem

License: Apache License 2.0

Ruby 100.00%

mysql_chef_gem's Introduction

mysql Chef Gem Installer Cookbook

Build Status Cookbook Version

mysql_chef_gem is a library cookbook that provides an LWRP for use in recipes. It provides a wrapper around chef_gem called mysql_chef_gem that eases the installation process, collecting the prerequisites and side-stepping the compilation phase arms race.

DEPRECATED

This cookbook has been deprecated. The goal of the cookbook was to make installing the gem easier, but that can be done in a simple wrapper cookbook with less complexity than this cookbook introduced.

Scope

This cookbook is concerned with the installation of the mysql Rubygem into Chef's gem path. Installation into other Ruby environments, or installation of related gems such as mysql2 are outside the scope of this cookbook. For installing the mysql2 gem see https://supermarket.chef.io/cookbooks/mysql2_chef_gem

Requirements

Platforms

The following platforms have been tested with Test Kitchen and are known to work.

|--------------------------------------+-----+-----+-----+-----+-----+---------|
|                                      | 5.0 | 5.1 | 5.5 | 5.6 | 5.7 | MariaDB |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / centos-5       |  X  |     |     |  X  |  X  |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / centos-6       |     |  X  |  X  |  X  |  X  |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / centos-7       |     |     |  X  |  X  |  X  |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / debian-7       |     |     |  X  |     |     |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / debian-8       |     |     |  X  |     |     |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / fedora-22      |     |     |     |  X  |  X  |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / fedora-23      |     |     |     |  X  |  X  |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / ubuntu-12.04   |     |     |  X  |     |     |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mysql / ubuntu-14.04   |     |     |  X  |  X  |     |         |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mariadb / fedora-22    |     |     |     |     |     |    X    |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mariadb / fedora-23    |     |     |     |     |     |    X    |
|--------------------------------------+-----+-----+-----+-----+-----+---------|
| MysqlChefGem::Mariadb / ubuntu-14.04 |     |     |     |     |     |    X    |
|--------------------------------------+-----+-----+-----+-----+-----+---------|

Chef

  • Chef 12.1+

Cookbooks

  • build-essential
  • mysql 6.0+
  • mariadb

Usage

Place a dependency on the mysql_chef_gem cookbook in your cookbook's metadata.rb

depends 'mysql_chef_gem', '~> 3.0'

Then, in a recipe:

mysql_chef_gem 'default' do
  action :install
end

Resources Overview

mysql_chef_gem

The mysql_chef_gem resource the build dependencies and installation of the mysql rubygem into Chef's Ruby environment

Example

mysql_chef_gem 'default' do
  gem_version '2.9.1'
  action :install
end

Parameters

  • gem_version - The version of the mysql Rubygem to install into the Chef environment. Defaults to '2.9.1'
  • connectors_url - URL of a tarball containing pre-compiled MySQL connector libraries
  • connectors_checksum - sha256sum of the connectors_url tarball

Actions

  • :install - Build and install the gem into the Chef environment
  • :remove - Delete the gem from the Chef environment

Providers

Chef selects a default provider based on platform and version, but you can specify one if your platform support it.

mysql_chef_gem 'default' do
  provider Chef::Provider::mysqlChefGem::Mariadb
  Action :install
end

License & Authors

Author: Cookbook Engineering Team ([email protected])

Copyright: 2014-2016, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

mysql_chef_gem's People

Contributors

apenav avatar tas50 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.