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


bonita (4) Versions 5.7.1

Installs/Configures the bonita BPM server

cookbook 'bonita', '~> 5.7.1'
cookbook 'bonita', '~> 5.7.1', :supermarket
knife supermarket install bonita
knife supermarket download bonita
Quality 50%


Build Status

Download BonitaSoft from a remote location and install it into the tomcat directories according to the directions. The cookbook has been tested with the "Subscription Pack" version of the Bonita product.

This cookbook now uses packages that were generated from the "glassfish-bonita": project. That project generates several jars that feed into this cookbook.

Unfortunately the install can not be completely automated as BonitaSoft requires that you generate a license for the specific host that the product is deployed upon. So after the initial install you need to generate a license key as per the directions given by BonitaSoft (i.e. Run either /usr/local/bonita-x.x.x/licenses/ or /usr/local/bonita-x.x.x/licenses/ and send of request to bonita and wait for a response). The license needs to be made available over http. We make this license also available in a local Maven repository.

The cookbook has only been tested when deploying to MS SQL server but it is expected that modifying the configuration settings will make the cookbook work with other database vendors.


  • node['bonita']['packages']['bonita'] - The url to bonita war file. Must be specified.
  • node['bonita']['packages']['xcmis'] - The url to xcmis war file. Must be specified.
  • node['bonita']['packages']['keygen'] - The url to jar for creating license requests. Must be specified.
  • node['bonita']['packages']['client'] - The url to zip containing client tempaltes used on server. Must be specified.
  • node['bonita']['license']['url'] - The url to the license file for the bonita software.
  • node['bonita']['license']['type'] - The type of license to generate request for. Should be 'development' or 'production'.
  • node['bonita']['license']['request'] - The request string generated for this node. It is synthesized by the recipe.
  • node['bonita']['logging_properties'] - A map of properties merged into the logging configuration.
  • node['bonita']['database']['hibernate']['dialect'] - = 'org.hibernate.dialect.SQLServerDialect'.
  • node['bonita']['database']['exo_jcr']['dialect'] - The xCMIS jcr dialect. Defaults to 'mssql'.
  • node['bonita']['database']['hibernate']['interceptor'] - The Bonita hibernate interceptor. Defaults to 'org.ow2.bonita.env.interceptor.MSSQLServerDescNullsFirstInterceptor'.
  • node['bonita']['database']['jdbc']['driver'] - The class name of the database driver. Defaults to 'net.sourceforge.jtds.jdbc.Driver'.
  • node['bonita']['database']['jdbc']['history']['url'] - The database jdbc url for bonita history database. Must be specified.
  • node['bonita']['database']['jdbc']['history']['schema'] - The database schema for the bonita history database. May be specified.
  • node['bonita']['database']['jdbc']['journal']['url'] - The database jdbc url for bonita journal database. Must be specified.
  • node['bonita']['database']['jdbc']['journal']['schema'] - The database schema for the bonita journal database. May be specified.
  • node['bonita']['database']['jdbc']['xcmis']['url'] - The database jdbc url for xcmis. Must be specified.
  • node['bonita']['database']['jdbc']['username'] - The database username.
  • node['bonita']['database']['jdbc']['password'] - The database username.
  • node['bonita']['xcmis']['username'] - The xCMIS username.
  • node['bonita']['xcmis']['password'] - The xCMIS password.


Here is some example properties defined on a role that includes bonita.

:bonita =>
    :packages {
     'bonita' => '',
     'xcmis' => '',
     'keygen' => '',
     'client' => '',
    :license => {:url => ''},
    :extra_libraries => [''],
    :database =>
        :jdbc =>
            :journal => {:url => 'jdbc:jtds:sqlserver://', :schema => 'journal'},
            :history => {:url => 'jdbc:jtds:sqlserver://', :schema => 'history'},
            :xcmis => {:url => 'jdbc:jtds:sqlserver://'},
            :username => 'username',
            :password => 'password',
  :xcmis =>
      :username => 'xcmis_username',
      :password => 'xcmis_password'

Dependent cookbooks

tomcat >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric

5.7.1 failed this metric

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

Contributing File Metric

5.7.1 passed this metric

Foodcritic Metric

5.7.1 failed this metric

FC064: Ensure issues_url is set in metadata: bonita/metadata.rb:1
FC065: Ensure source_url is set in metadata: bonita/metadata.rb:1
FC066: Ensure chef_version is set in metadata: bonita/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: bonita/metadata.rb:1
FC069: Ensure standardized license defined in metadata: bonita/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

5.7.1 passed this metric

Publish Metric

5.7.1 passed this metric

Supported Platforms Metric

5.7.1 failed this metric

bonita should declare what platform(s) it supports.

Testing File Metric

5.7.1 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

5.7.1 passed this metric