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

Select Status

RSS

nodesource (8) Versions 2.3.0

Installs nodejs from nodesource

Policyfile
Berkshelf
Knife
cookbook 'nodesource', '= 2.3.0', :supermarket
cookbook 'nodesource', '= 2.3.0'
knife supermarket install nodesource
knife supermarket download nodesource
README
Dependencies
Quality 33%

Chef Node

Build Status

Installs node from https://github.com/nodesource/distributions for CentOS / Debian

Usage

Changing the versions of node can be done via the attributes, see attributes.rb

default['node']['version'] = '8.4.0-1'
default['node']['major_version'] = '8.x'

# If you wish to install an exact version of Yarn
default['yarn']['version'] = '0.27.5-1'

Installing node, upgrading NPM and installing yarn can be done with the following

  "run_list": [
    "recipe[nodesource]",
    "recipe[nodesource::upgrade_npm]",
    "recipe[nodesource::yarn]"
  ]

Support

  • CentOS 6.x
  • CentOS 7.x
  • Debian

Chef Support (tested)

  • Chef 12.7+
  • Chef 13.1

Collaborator Number Metric
            

2.3.0 failed this metric

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

Contributing File Metric
            

2.3.0 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
            

2.3.0 failed this metric

FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:1
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:2
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:4
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:6
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:10
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:12
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:15
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:19
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:3
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:6
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:7
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:8
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:1
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:5
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:9
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:10
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:11
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:21
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

2.3.0 passed this metric

Testing File Metric
            

2.3.0 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
            

2.3.0 passed this metric