cookbook 'nodesource', '= 2.2.0'
nodesource (8) Versions 2.2.0 Follow0
Installs nodejs from nodesource
cookbook 'nodesource', '= 2.2.0', :supermarket
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'
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.2.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.2.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.2.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:8
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:10
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
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
2.2.0 failed this metric
nodesource 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
2.2.0 passed this metric
Testing File Metric
2.2.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.2.0 passed this metric
2.2.0 failed this metric
2.2.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.2.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:8
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:10
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
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
2.2.0 failed this metric
nodesource 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
2.2.0 passed this metric
Testing File Metric
2.2.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.2.0 passed this metric
2.2.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:8
FC039: Node method cannot be accessed with key: nodesource/attributes/default.rb:10
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
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.2.0 failed this metric
nodesource 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
2.2.0 passed this metric
Testing File Metric
2.2.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.2.0 passed this metric
2.2.0 passed this metric
2.2.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.2.0 passed this metric
2.2.0 passed this metric