cookbook 'nodesource', '= 2.4.0', :supermarket
nodesource (8) Versions 2.4.0 Follow0
Installs nodejs from nodesource
cookbook 'nodesource', '= 2.4.0'
knife supermarket install nodesource
knife supermarket download nodesource
Chef Node
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.4.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.4.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.4.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:11
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:12
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:13
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:14
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:15
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:16
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:26
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.4.0 passed this metric
Publish Metric
2.4.0 passed this metric
Supported Platforms Metric
2.4.0 passed this metric
Testing File Metric
2.4.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.4.0 passed this metric
2.4.0 failed this metric
2.4.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.4.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:11
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:12
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:13
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:14
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:15
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:16
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:26
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.4.0 passed this metric
Publish Metric
2.4.0 passed this metric
Supported Platforms Metric
2.4.0 passed this metric
Testing File Metric
2.4.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.4.0 passed this metric
2.4.0 failed this metric
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:11
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:12
FC039: Node method cannot be accessed with key: nodesource/recipes/debian.rb:13
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:14
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:15
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:16
FC039: Node method cannot be accessed with key: nodesource/recipes/rhel.rb:26
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.4.0 passed this metric
Publish Metric
2.4.0 passed this metric
Supported Platforms Metric
2.4.0 passed this metric
Testing File Metric
2.4.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.4.0 passed this metric
2.4.0 passed this metric
2.4.0 passed this metric
Testing File Metric
2.4.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.4.0 passed this metric
2.4.0 failed this metric
2.4.0 passed this metric