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

ndb (3) Versions 0.2.1

Installs/Configures NDB (MySQL Cluster)

Berkshelf/Librarian
Policyfile
Knife
cookbook 'ndb', '~> 0.2.1'
cookbook 'ndb', '~> 0.2.1', :supermarket
knife cookbook site install ndb
knife cookbook site download ndb
README
Dependencies
Quality

Description

Installs and configures a MySQL Cluster, including the management server(s), data nodes, and MySQL Server(s).

Requirements

Chef 0.11+.

Platform

  • Ubuntu, centos

Tested on: * Ubuntu 12.04-14.04 * centos 7.0+

Usage

  1. install gems needed to test chef recipes bundle install

  2. Test recipe syntax and code-style bundle exec foodcritic .

  3. run kitchen to test recipes ./kitchen.sh

Chef-solo usage

On a node that provides both a Management Server and a MySQL Server, use both the mgmd and mysqld recipes:

{ "run_list": ["recipe[ndb::install]", "recipe[ndb::mgmd]", "recipe[ndb::mysqld]" }

This will install and start both a ndb_mgmd and a mysqld daemon on both nodes.

On a node that will provide a data node, run: { "run_list": ["recipe[ndb::install]", "recipe[ndb::ndbd]" }

This will install a data node on the host, that is, an ndbd process.

You can override attributes in your node or role. For example, on an Ubuntu system: { "mysql": { "password": "secret" } }

Karamel usage

This cookbook is karamelized (www.karamel.io). You can launch a MySQL Cluster using the following yml file. It will create 5 VMs on EC2, and install ndb datanodes on 4 VMs, and a management server, a MySQL Server, and a Memcached server on 1 VM.

name: MySqlCluster

cookbooks:
ndb: github: "hopshadoop/ndb-chef" version: "v0.1"

groups: datanodes: size: 4 recipes: - ndb::ndbd server: size: 1 recipes: - ndb::mysqld - ndb::memcached - ndb::mgmd

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Collaborator Number Metric
            

0.2.1 failed this metric

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

Contributing File Metric
            

0.2.1 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 CONTRIBUTING.md file

Foodcritic Metric
            

0.2.1 failed this metric

FC009: Resource attribute not recognised: ndb/recipes/ndbd.rb:175
FC017: LWRP does not notify when updated: ndb/providers/start.rb:1
FC017: LWRP does not notify when updated: ndb/providers/start.rb:17
FC017: LWRP does not notify when updated: ndb/providers/start.rb:32
FC017: LWRP does not notify when updated: ndb/providers/start.rb:47
FC034: Unused template variables: ndb/templates/default/config.ini.erb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/ixgbevf.rb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/mgmd.rb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/mysql_basic.rb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/mysql_ndb.rb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/mysqld.rb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/ndbd.rb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/start.rb:1
FC059: LWRP provider does not declare use_inline_resources: ndb/providers/waiter.rb:1
FC064: Ensure issues_url is set in metadata: ndb/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ndb/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ndb/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: ndb/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: ndb/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.2.1 failed this metric

ndb does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.2.1 failed this metric

Failure: Cookbook should not contain binaries. Found:
ndb/files/default/libaio1_0.3.109-2ubuntu1_amd64.deb

Publish Metric
            

0.2.1 passed this metric

Supported Platforms Metric
            

0.2.1 passed this metric

Testing File Metric
            

0.2.1 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.2.1 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 include a tag that matches this cookbook version number