Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

78 lines (57 sloc) 2.73 kB


This is a fork of Atalanta's supervisord chef cookbook. It installs and configures supervisord and supervised programs.



  • Replaced uploaded supervisor.conf file with a a template that gets rendered with attributes.
  • Added the includes recipe, which writes included .conf files for supervised programs.


There are a number of attributes that correspond to supervisord settings. For a full list, see attributes/default.rb and the supervisord config docs.

Additionally, there is a node[:supervisord][:data_bag_items] attribute, which should be overriden in a role. This tells the includes recipe, which data bag items to use in order to write config files for supervised programs.


This cookbook contains the following recipies.


Installs and configures supervisord


This recipe writes a config file for programs that will be supervised. Configuration data is read from a supervisord data bag. Each item in the data bag should contain keys/values that correspond to the settings that would typically go within an [program:x] section in the supervisord config file (see the supervisord docs for more information).

A sample data bag item might look like:

    "id": "myprogram",
    "command": "/path/to/myprogram"


Create a Role and override the attributes to fit your needs. An example role might look like:

name "my_supervisord_role"
description "Sample Supervisord role"

  "supervisord" => {
    "data_bag_items" => [

License and Author

Author:: Brad Montgomery ( Author:: Stephen (

Copyright 2011, Atalanta Systems Ltd

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.

Jump to Line
Something went wrong with that request. Please try again.