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

Select Status

RSS

supervisor (10) Versions 0.1.0

Installs supervisor and provides resources to configure services

Policyfile
Berkshelf
Knife
cookbook 'supervisor', '= 0.1.0', :supermarket
cookbook 'supervisor', '= 0.1.0'
knife supermarket install supervisor
knife supermarket download supervisor
README
Dependencies
Quality -%

Description

Installs (Python) supervisor and provides resources to configure services

Requirements

Platform:

Tested on Ubuntu 10.04

Cookbooks:

  • python

Attributes

  • node['supervisor']['dir'] - location of supervisor config files
  • node['supervisor']['log_dir'] - location of supervisor logs

Resources/Providers

supervisor_service

Actions

The default action is the array [:enable, :start]. Actions use the
supervisorctl program.

  • :enable - enables the service at boot time
  • :disable - disables the service at boot time
  • :start - starts the service
  • :stop - stops the service
  • :restart - restarts the service
  • :reload - reloads the service

Attribute Parameters

  • :service_name - (Name Attribute), a string, name of the service

The following attributes are used in the program.conf.erb as the
values for the corresponding configuration option. See
resources/service.rb for default values.

  • :command - string
  • :process_name - string
  • :numprocs - integer
  • :numprocs_start - integer
  • :priority - integer
  • :autostart - true or false
  • :autorestart - string, symbol, true or false
  • :startsecs - integer
  • :startretries - integer
  • :exitcodes - array
  • :stopsignal - string or symbol
  • :stopwaitsecs - integer
  • :user - string or nil
  • :redirect_stderr - true or false
  • :stdout_logfile - string
  • :stdout_logfile_maxbytes - string
  • :stdout_logfile_backups - string
  • :stdout_capture_maxbytes - string
  • :stdout_events_enabled - true or false
  • :stderr_logfile - string
  • :stderr_logfile_maxbytes - string
  • :stderr_logfile_backups - integer
  • :stderr_capture_maxbytes - string
  • :stderr_events_enabled - true or false
  • :environment- hash
  • :directory- string or nil
  • :umask - string or nil
  • :serverurl - string

Examples

supervisor_service "celery" do
  action :enable
  autostart false
  user "nobody"
end

Recipes

default

Includes the python recipe, installs the supervisor PIP package and
sets up supervisor.

License and Author

Author:: Noah Kantrowitz noah@opscode.com
Author:: Gilles Devaux gilles.devaux@gmail.com

Copyright:: 2011-2012, Opscode, Inc legal@opscode.com
Copyright:: 2011, Formspring.me

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

http://www.apache.org/licenses/LICENSE-2.0

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

python >= 0.0.0

Contingent cookbooks

application_python Applicable Versions
carbon-relay-ng Applicable Versions
consul-template Applicable Versions
corbel Applicable Versions
cuckoo Applicable Versions
elastalert Applicable Versions
harstorage Applicable Versions
hubot Applicable Versions
ipynb Applicable Versions
mediacore Applicable Versions
ngrok Applicable Versions
opsworks_python Applicable Versions
pip_elastalert Applicable Versions
ros Applicable Versions
rundeck-alt Applicable Versions
strongloop Applicable Versions

No quality metric results found