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


gearman (2) Versions 1.0.0

Installs/Configures gearman job server

cookbook 'gearman', '~> 1.0.0', :supermarket
cookbook 'gearman', '~> 1.0.0'
knife supermarket install gearman
knife supermarket download gearman
Quality 17%

Gearman Job Server Chef Cookbook

Build Status
Dependency Status

This is a Chef cookbook to manage Gearman


The following platforms and versions are tested and supported using test-kitchen

  • CentOS 6.6, 7.1
  • Debian 7.8, 8.1
  • Ubuntu 12.04, 14.04

Other versions that should work fine but are not testing in [test-kitchen].

  • Amazon Linux 2015-03
  • RHEL >= 6.6

Tested Queue Types and Distros

An X indicates that the queue type for the distro is supported. Different packages support different queue types because they had different compile time options and libraries used.

Drizzle Memcached MySQL Postgres SQLite3 Tokyo Cabinet
CentOS 6.6 X X X X
CentOS 7.1 X X X X
Debian 7.8 X X
Debian 8.1 X X X X
Ubuntu 12.04 X X X
Ubuntu 14.04 X X X X


Please see gearman documentation for what each of these options do.

  • default['gearman']['parameters']['backlog'] - Number of backlog connections for listen.
  • default['gearman']['parameters']['file-descriptors'] - Number of file descriptors to allow for the process. Default is max allowed for users.
  • default['gearman']['parameters']['job-retries'] - Number of attempts to run the job before the job server removes it. Default is no limit.
  • default['gearman']['parameters']['log-file'] - Log file to write errors and information to.
  • default['gearman']['parameters']['listen'] - Address the server should listen on. Default is INADDR_ANY.
  • default['gearman']['parameters']['port'] - Port the server should listen on. Default is 4730.
  • default['gearman']['parameters']['threads'] - Number of I/O threads to use. Default = 0
  • default['gearman']['parameters']['user'] - Switch to given user after startup

  • default['gearman']['queue-type'] - Persistent queue type to use. Valid options are libdrizzle, libmemcached, libsqlite3, libpq, mysql

  • default['gearman']['libdrizzle']['host'] - Host of server

  • default['gearman']['libdrizzle']['port'] - Port of server

  • default['gearman']['libdrizzle']['uds'] - Unix domain socket for server

  • default['gearman']['libdrizzle']['user'] - User name for authentication

  • default['gearman']['libdrizzle']['password'] - Password for authentication

  • default['gearman']['libdrizzle']['db'] - Database to use

  • default['gearman']['libdrizzle']['table'] - Table to use

  • default['gearman']['libdrizzle']['mysql'] - Set to true to use MySQL protocol

  • default['gearman']['libmemcached']['servers'] - List of memcached servers to use.

  • default['gearman']['libsqlite3']['db'] - Database file to use

  • default['gearman']['libsqlite3']['table'] - Table to use

  • default['gearman']['libpq']['conninfo'] - PostgreSQL connection information string

  • default['gearman']['libpq']['table'] - Table to use

  • default['gearman']['mysql']['host'] - Host of server

  • default['gearman']['mysql']['port'] - Port of server

  • default['gearman']['mysql']['user'] - User for authentication

  • default['gearman']['mysql']['password'] - Password for authentication

  • default['gearman']['mysql']['db'] - Database to use

  • default['gearman']['mysql']['table'] - Table to use



Just include gearman in your node's run_list:

  "run_list": [


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github to the development branch

Helpful Stuff

License and Authors

Authors: Chris Zeeb and Contributors

Copyright:: 2015 Chris Zeeb <>

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,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

apt ~> 2.7

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

gearman-job-server-cookbook CHANGELOG

This file is used to list changes made in each version of the gearman cookbook.

1.0.0 / 2015-12-14

Rewrite of gearman cookbook


  • Support for Amazon, CentOS, and RedHat
  • ['gearman']['server'] options moved to ['gearman']['parameters']


  • Install from O/S packages instead of pulling package from github repository
  • Added configuration options for:
    • backlog
    • file-descriptors
    • job-retries
    • log-file
    • listen
    • threads
    • queue-type
    • libdrizzle - all options
    • libmemcached - all options
    • libsqlite3 - all options
    • libpq - all options
    • mysql - all options


  • Installing gearman-ruby gem

0.0.1 / 2011-02-17

  • Initial release. The original cookbook can be found here. The 1.0.0 release is a complete rewrite.

Collaborator Number Metric

1.0.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Foodcritic Metric

1.0.0 failed this metric

FC066: Ensure chef_version is set in metadata: gearman/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gearman/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

1.0.0 passed this metric

Testing File Metric

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must include a tag that matches this cookbook version number