Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

ruby-env-cookbook (5) Versions 0.1.4

Installs/Configures a ruby dev environment

Berkshelf/Librarian
Policyfile
Knife
cookbook 'ruby-env-cookbook', '~> 0.1.4'
cookbook 'ruby-env-cookbook', '~> 0.1.4', :supermarket
knife cookbook site install ruby-env-cookbook
knife cookbook site download ruby-env-cookbook
README
Dependencies
Changelog
Quality 78%

ruby-env-cookbook

Use this cookbook to set up a ruby development environment!

Supported Platforms

Vagrant with ubuntu

Attributes

MySQL attributes

<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['ruby_env_cookbook']['mysql']['service_name']</tt></td> <td>String</td> <td>The name of the MySQL service that is installed</td> <td><tt>default</tt></td> </tr> <tr> <td><tt>['ruby_env_cookbook']['mysql']['version']</tt></td> <td>String</td> <td>The version of the MySQL service that is installed</td> <td><tt>5.5</tt></td> </tr> <tr> <td><tt>['ruby_env_cookbook']['mysql']['port']</tt></td> <td>String</td> <td>The port on which the MySQL service is installed</td> <td><tt>3306</tt></td> </tr> <tr> <td><tt>['ruby_env_cookbook']['mysql']['password']</tt></td> <td>String</td> <td>The password for the MySQL service that is installed</td> <td><tt>password</tt></td> </tr> <tr> <td><tt>['ruby_env_cookbook']['mysql']['action']</tt></td> <td>Array</td> <td>The actions that will be run when the MySQL service that is installed</td> <td><tt>[:create, :start]</tt></td> </tr> <tr> <td><tt>['ruby_env_cookbook']['mysql']['include_client']</tt></td> <td>Boolean</td> <td>If true, the MySQL client and development libraries will be installed</td> <td><tt>true</tt></td> </tr> </table>

RBEnv attributes

<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['ruby_env_cookbook']['rbenv']['user']</tt></td> <td>String</td> <td>The user for which this ruby is installed</td> <td><tt>vagrant</tt></td> </tr> <tr> <td><tt>['ruby_env_cookbook']['rbenv']['version']</tt></td> <td>String</td> <td>The version of ruby to be installed</td> <td><tt>2.4.2</tt></td> </tr> <tr> <td><tt>['ruby_env_cookbook']['rbenv']['gems']</tt></td> <td>Array</td> <td>An array of gems to be installed</td> <td><tt>[{name: 'bundler', version: '1.16.0'}]</tt></td> </tr> </table>

Usage

Recipes

Include ruby-env-cookbook recipes in your node's run_list:

{
  "run_list": [
    "recipe[ruby-env-cookbook::apt]",
    "recipe[ruby-env-cookbook::mysql]",
    "recipe[ruby-env-cookbook::nodejs]",
    "recipe[ruby-env-cookbook::phantomjs]",
    "recipe[ruby-env-cookbook::redis]",
    "recipe[ruby-env-cookbook::rbenv]",
    "recipe[ruby-env-cookbook::yum]"
  ]
}

or in a vagrant environment: chef.add_recipe 'ruby-env-cookbook::apt' chef.add_recipe 'ruby-env-cookbook::mysql' chef.add_recipe 'ruby-env-cookbook::nodejs' chef.add_recipe 'ruby-env-cookbook::phantomjs' chef.add_recipe 'ruby-env-cookbook::redis' chef.add_recipe 'ruby-env-cookbook::rbenv' chef.add_recipe 'ruby-env-cookbook::yum'

License and Authors

License:: MIT License Author:: Daniel Waters (daniel.waters@softwire.com)

Dependent cookbooks

yum ~> 5.1.0
ruby_rbenv ~> 2.0.5
redisio ~> 2.3.0
phantomjs2 ~> 1.1.0
nodejs ~> 2.4.4
mysql ~> 8.0
apt ~> 2.9.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.3

Added yum, redis and nodejs recipes

0.1.3

Updating issue/source URLs

0.1.2

Satisfying foodcritic linting issues

0.1.1

Satisfying Supermarket linting issues

0.1.0

Initial release of cookbook, including apt, mysql, phantomjs and rbenv recipes

Collaborator Number Metric
            

0.1.4 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.4 passed this metric

Foodcritic Metric
            

0.1.4 passed this metric

License Metric
            

0.1.4 passed this metric

No Binaries Metric
            

0.1.4 passed this metric

Publish Metric
            

0.1.4 passed this metric

Supported Platforms Metric
            

0.1.4 passed this metric

Testing File Metric
            

0.1.4 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
            

0.1.4 passed this metric