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 supermarket mailing list.

Select Badges

Select Supported Platforms

The application_just_nodejs cookbook has been deprecated

The application_just_nodejs cookbook has been deprecated and is no longer being maintained by its authors. Use of the application_just_nodejs cookbook is no longer recommended. You may find that the application_nodejs cookbook is a suitable alternative.


application_just_nodejs (1) Versions 0.0.1

Deploys and configures node.js-based applications

cookbook 'application_just_nodejs', '~> 0.0.1'
cookbook 'application_just_nodejs', '~> 0.0.1', :supermarket
knife cookbook site install application_just_nodejs
knife cookbook site download application_just_nodejs


A simpler version of:


This cookbook is designed to be able to describe and deploy node.js applications.

Note that this cookbook provides the node.js-specific bindings for the application cookbook; you will find general documentation in that cookbook.


Chef 11.0.0 or higher required (for Chef environment use).

The following Opscode cookbooks are dependencies:

  • application


The LWRP provided by this cookbook is not meant to be used by itself; make sure you are familiar with the application cookbook before proceeding.


The just_nodejs sub-resource LWRP deals with deploying node.js apps from an SCM repository. It uses the deploy_revision LWRP to perform the bulk of its tasks, and many concepts and parameters map directly to it. Check the documentation for deploy_revision for more information.

It will install specified modules using npm install.

Attribute Parameters

  • npm_command: The command to execute when calling bundler commands. Useful for specifing alternate commands. Defaults to npm.
  • npm_options: additional options which will be appended to the end of the npm command string.


A sample recipe that uses the nodejs cookbook to provide node.js and application_procfile to start the app:

node.default['nodejs']['version'] = '0.10.28'
node.default['nodejs']['npm'] = '1.4.9'

include_recipe 'nodejs'
include_recipe 'nodejs::install_from_source'
include_recipe 'application_procfile'

application 'example' do
  path '/srv/example'

  owner 'ubuntu'
  group 'ubuntu'

  packages ['git']
  repository ''

  deploy_key'../../deploy_key', __FILE__))

  just_nodejs do

  procfile do
    app 1

Dependent cookbooks

application ~> 4.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

0.0.1 failed this metric

FC016: LWRP does not declare a default action: /tmp/cook/c5a517fbbac53cafa00abed5/application_just_nodejs/resources/just_nodejs.rb:1
FC017: LWRP does not notify when updated: /tmp/cook/c5a517fbbac53cafa00abed5/application_just_nodejs/providers/just_nodejs.rb:7