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


nats (4) Versions 0.99.0

Installs/Configures nats

cookbook 'nats', '= 0.99.0'
cookbook 'nats', '= 0.99.0', :supermarket
knife supermarket install nats
knife supermarket download nats
Quality -%


Installs and configures a Nats server for use with CloudFoundry.

This cookbook will install a Nats Server on the target node along with the necessary configuration files and init scripts to run it. Because Nats is used so heavily by CloudFoundry, this cookbook relies on the cloudfoundry cookbook for common functionality.



  • Ubuntu

Tested on:

  • Ubuntu 10.04
  • Ubuntu 12.04


  • cloudfoundry
  • rbenv


  • node['nats']['gem]['version'] - Version of the nats gem to install. Default is 0.4.28.
  • node['nats_server']['host'] - Nats will bind to this host. Default is
  • node['nats_server']['port'] - Nats will bind to this port. Default is 4222.
  • node['nats_server']['user'] - Clients will connect to nats as this user. Default is nats.
  • node['nats_server']['password'] - Clients will connect to nats with this password. Default is nats.
  • node['nats_server']['pid_file'] - Where to write Nats's pid. Default is File.join(node['cloudfoundry']['pid_dir'], "").
  • node['nats_server']['log_file'] - Where to write Nats's logs. Default is File.join(node['cloudfoundry']['log_dir'], "nats-server.log").
  • node['nats_server']['ruby_version'] - Ruby version to use to run Nats. Default is node['cloudfoundry']['ruby_1_9_2_version']; there should be no reason to change it.

License and Author

Author:: Andrea Campi ( Author:: Trotter Cashion (

Copyright:: 2012 ZephirWorks Copyright:: 2012 Trotter Cashion

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

rbenv >= 0.0.0
cloudfoundry >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found