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 openerp cookbook has been deprecated

Author provided reason for deprecation:

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


openerp (2) Versions 0.0.2

Installs and configures OpenERP

cookbook 'openerp', '~> 0.0.2', :supermarket
cookbook 'openerp', '~> 0.0.2'
knife supermarket install openerp
knife supermarket download openerp
Quality 57%

OpenERP Cookbook

Build Status
Chef cookbook


Installs and configures OpenERP server (version 6), web-client and database.


Although the rest of the document indicates that this cookbook can install OpenERP in
a distributed setup, the current version only supports installing everything on the same machine.

This cookbook does not currently support 'Odoo' versions 7 or 8.



Tested on the following platforms:
- Ubuntu 10.04.1.

Tested with the following OpenERP versions:
- 6.0.0

Open for patches to support more systems out of the box! Clone the repo, implement your changes and
submit a pull request. The upstream repo lives here:



  • openerp[:version] - Version of openerp to use.


This cookbook provides a complete OpenERP setup in two ways:

  • everything on a single host: database, OpenERP server and web-client installed on a single machine and configured correctly to be instantly usable.
  • distributed over multiple machines: database, OpenERP server and web-client can be spread over multiple machines. The three components will be configured to work together based on the results of a Chef search. This requires Chef Server to function correctly.

This cookbook doesn't configure an http proxy against the OpenERP web-client. To prevent too much
assumptions on the specific user setup, it was chosen to not provide that in this cookbook.


The simplest way to install the complete OpenERP stack, including PostgreSQL, is to use the
single-host way. Either include the default OpenERP recipe in your own cookbook, add this
recipe to your node run list or add it to the run list of a role.

include 'openerp'

Without any other options, this will install OpenERP 6.0.0. If you want to install another version,
just override the default version, e.g in a role definition via the Ruby DSL:

override_attributes "openerp" => { "version" => "6.0.1" }


In the distributed setup, you can install every component of the OpenERP stack on a different machine.
The components will be connected to each other based on the result of a Chef search. The search criterium
used will be the node's run list. For example, the OpenERP server will be configured to the database
server using the node information containing the 'openerp::database' recipe in it's run list.

Installing & Configuring the database server:

include 'openerp::database'

This recipe will relay the PostgreSQL installation to the 'postgresql' cookbook. After the installation
of the PostgreSQL server, the OpenERP database user is created with the proper access rights.

Server recipe:

include 'openerp::server'

Web-client recipe:

include 'openerp::webclient'


Author:: Michael Burns (
Author:: Ringo De Smet (

Copyright:: 2011, Atriso, BVBA, 2015

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

postgresql >= 0.0.0
openssl >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric

0.0.2 failed this metric

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

Contributing File Metric

0.0.2 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

0.0.2 passed this metric

No Binaries Metric

0.0.2 passed this metric

Supported Platforms Metric

0.0.2 passed this metric

Testing File Metric

0.0.2 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

0.0.2 passed this metric