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

nodejs (28) Versions 2.0.0

Installs/Configures node.js

Berkshelf/Librarian
Policyfile
Knife
cookbook 'nodejs', '= 2.0.0'
cookbook 'nodejs', '= 2.0.0', :supermarket
knife cookbook site install nodejs
knife cookbook site download nodejs
README
Dependencies
Quality -%

nodejs-cookbook Build Status

DESCRIPTION

Installs Node.js and manage npm

USAGE

Include the nodejs recipe to install node on your system based on the default installation method: chef include_recipe "nodejs" Installation method can be customized with attribute node['nodejs']['install_method']

Install methods

Package

Install node from packages:

node['nodejs']['install_method'] = 'package' # Not necessary because it's the default
include_recipe "nodejs"
# Or
include_recipe "nodejs::nodejs_from_package"

Note that only apt (Ubuntu, Debian) appears to have up to date packages available. Centos, RHEL, etc are non-functional (try nodejs_from_binary for those).

Binary

Install node from official prebuilt binaries: ```chef node['nodejs']['install_method'] = 'binary' include_recipe "nodejs"

Or

include_recipe "nodejs::nodejs_from_binary" ```

Source

Install node from sources: ```chef node['nodejs']['install_method'] = 'source' include_recipe "nodejs"

Or

include_recipe "nodejs::nodejs_from_source" ```

NPM

Npm is included in nodejs installs by default. By default, we are using it and call it embedded. Adding recipe nodejs::npm assure you to have npm installed and let you choose install method with node['npm']['install_method'] chef include_recipe "nodejs::npm" Warning: This recipe will include the nodejs recipe, which by default includes nodejs::nodejs_from_package if you did not set node['nodejs']['install_method'].

LWRP

nodejs_npm

nodejs_npm let you install npm packages from various sources: * npm registry: * name: attribute :package * version: attribute :version (optionnal) * url: attribute :url * for git use git://{your_repo} * from a json (packages.json by default): attribute :json * use true for default * use a String to specify json file

Packages can be installed globally (by default) or in a directory (by using attribute :path)

You can append more specific options to npm command with attribute :options array :
* use an array of options (w/ dash), they will be added to npm call. * ex: ['--production','--force'] or ['--force-latest']

This LWRP try to use npm bare as much as possible (no custom wrapper).

Examples

AUTHORS

Dependent cookbooks

apt >= 0.0.0
ark >= 0.0.0
build-essential >= 0.0.0
yum-epel >= 0.0.0

Contingent cookbooks

301 Applicable Versions
appium Applicable Versions
application_nodejs Applicable Versions
azurecli Applicable Versions
boilerplate Applicable Versions
cabot Applicable Versions
camo Applicable Versions
cdap Applicable Versions
cloudless-box Applicable Versions
containership Applicable Versions
cube Applicable Versions
docker-etcd-registrator Applicable Versions
dreadnot Applicable Versions
errbit-server Applicable Versions
etherpad Applicable Versions
etherpad-lite Applicable Versions
foreflight_build_agent Applicable Versions
ghost Applicable Versions
ghost-blog Applicable Versions
guardian Applicable Versions
hipache Applicable Versions
hubot Applicable Versions
huginn Applicable Versions
iisnode Applicable Versions
influxdb Applicable Versions
infochimps_statsd Applicable Versions
jenkins_build Applicable Versions
kronia Applicable Versions
lifeguard Applicable Versions
manta Applicable Versions
meteor Applicable Versions
mimo Applicable Versions
modcloth-hubot Applicable Versions
mozilla-firefox-accounts Applicable Versions
mozilla-firefox-sync Applicable Versions
myusa Applicable Versions
newrelic-sysmond-policy Applicable Versions
node-express-chef-quickstart Applicable Versions
nodejs-deploy Applicable Versions
nodestack Applicable Versions
noosfero Applicable Versions
npm Applicable Versions
npm_lazy Applicable Versions
npm_registry Applicable Versions
oc-id Applicable Versions
omakase Applicable Versions
pa11y Applicable Versions
pita Applicable Versions
pm2 Applicable Versions
prose Applicable Versions
protractor Applicable Versions
railsbox Applicable Versions
razor Applicable Versions
rethinkdb Applicable Versions
rocketchat Applicable Versions
ruby-env-cookbook Applicable Versions
sinopia Applicable Versions
sonos Applicable Versions
statsd Applicable Versions
statsd-centos7 Applicable Versions
strongloop Applicable Versions
supermarket Applicable Versions
treslek Applicable Versions
uchiwa Applicable Versions
uptime Applicable Versions
verdaccio Applicable Versions
webapp Applicable Versions
webhook Applicable Versions
zf2 Applicable Versions

No quality metric results found