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


oracle-client (3) Versions 0.2.0

Installs/Configures oracle-client

cookbook 'oracle-client', '= 0.2.0'
cookbook 'oracle-client', '= 0.2.0', :supermarket
knife cookbook site install oracle-client
knife cookbook site download oracle-client

oracle-client cookbook

Stories in Ready Join the chat at


This cookbook is concerned with a full installation of oracle-client. This will give access to oracle-cient, sqlplus etc. You will need to accept the terms & conditions on the oracle site and download to an on-site artifact store:

This cookbook will setup the tnsnames file through the use of node attributes (detailed below).

This cookbook does not set up an oracle-client service.


  • Chef 12 or higher
  • oracle-client downloaded to an on-site location.

Platform Support

The following platforms have been tested with Test Kitchen:

|                | | |
| ubuntu-10.04   |            |            |
| ubuntu-12.04   |            |            |
| ubuntu-14.04   |            |            |
| centos-5       |     X      |      X     |
| centos-6       |     X      |      X     |

If your Operating system is not on this list please submit a pull request with an update kitchen file and related tests.

Cookbook Dependencies

  • ark
  • resrouce
  • oracle-inventory


This cookbook uses the common_artifact_repo pattern.

The download URL is worked out from node.common_artifact_repo + installer_file This allows you to have a common artifact store url accross an environment or accross a single application.

To override this pattern simple supply the installer_file_url: in the oracle_client resource.

Place a dependency on the oracle-client cookbook in your cookbook's metadata file ruby depends 'oracle-client', '~> 0.1.0'

Then in a recipe: ```ruby node.default['common_artifact_url'] = 'htttp://artifact.home/software'

oracle_client '' do ownername 'app1' groupname 'app_group' installer_file '' end ```

Add the following before your oracle_client resource to set the tnsnames.ora file.

node.default['oracle']['client']['tnsnames']['ktst']['host'] = 'k-test-unicon'
node.default['oracle']['client']['tnsnames']['ktst']['port'] = 13_870
node.default['oracle']['client']['tnsnames']['ktst']['service_name'] = 'ktst'

For more examples see test/fixtures/cookbooks


  • Dan Webb
  • Luke Bradbury

Dependent cookbooks

oracle-inventory >= 0.0.0
compat_resource >= 0.0.0
ark >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

oracle-client Cookbook CHANGELOG

v0.2.0 Update cookbook to use the compat_resource/custom resource from Chef 12.5

v0.1.0 Initial release.

Foodcritic Metric

0.2.0 failed this metric

FC016: LWRP does not declare a default action: /tmp/cook/abd8aa4a0723f990a1267b36/oracle-client/resources/oracle_client.rb:1