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

The gecode cookbook has been deprecated

Author provided reason for deprecation:

The gecode cookbook has been deprecated and is no longer being maintained by its authors. Use of the gecode cookbook is no longer recommended.


gecode (15) Versions 0.99.0

Installs gecode

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


Installs Gecode 3.5.0+ development package.


Tested on Ubuntu and Debian with Opscode APT repository and build from source.

Tested on CentOS for build from source. See USAGE for information on installing RPMs.

Requires the following cookbooks:

  • apt - for installing packages from
  • build-essential - for compiling from source


The recipe is primarily used to install gecode's development package or from source in order to install the dep_selector gem, which needs to compile native extensions.

Note that compiling gecode takes a long time, up to ~30 minutes on a 4 core Macbook Pro.

On Debian and Ubuntu systems, the recipe will attempt to install packages from It uses the apt repository LWRP in Opscode's apt cookbook to enable the repository.

On Red Hat family distros, the recipe will attempt to install gecode from source. To install using a package the recipe needs to be updated to account for a package repository. Implementation varies depending on the package repository. For example, to retrieve the /etc/yum.repos.d/somewhere.repo that has the package available, add a condition to the main 'if' block:

remote_file "/etc/yum.repos.d/somewhere.repo" do
  source ""
  owner "root"
  group "root"
  mode 0644

package "gecode-devel"

License and Author

Author:: Chris Walters (
Author:: Nuo Yan (
Author:: Joshua Timberman (

Copyright 2009-2011, Opscode, Inc.

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.

No quality metric results found