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

RSS

oracle-client (3) Versions 0.3.0

Installs/Configures oracle-client

Berkshelf/Librarian
Policyfile
Knife
cookbook 'oracle-client', '~> 0.3.0'
cookbook 'oracle-client', '~> 0.3.0', :supermarket
knife cookbook site install oracle-client
knife cookbook site download oracle-client
README
Dependencies
Changelog
Quality 67%

oracle-client cookbook

Stories in Ready Join the chat at https://gitter.im/universityofderby/chef-oracle-client

Scope

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: http://www.oracle.com/technetwork

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.

Requirements

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

Platform Support

The following platforms have been tested with Test Kitchen:

|----------------+------------+------------|
|                | 12.1.0.1.0 | 11.2.0.1.0 |
|----------------+------------+------------|
| 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

Usage

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_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.3.0'

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

oracle_client '11.2.0.1' do ownername 'app1' groupname 'app_group' installer_file 'client-11.2.0.1.zip' 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

Authors

  • 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.3.0 Added properties to allow individual templates to be overriden in a wrapper cookbook.

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

v0.1.0 Initial release.

Collaborator Number Metric
            

0.3.0 passed this metric

Contributing File Metric
            

0.3.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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 passed this metric

License Metric
            

0.3.0 passed this metric

No Binaries Metric
            

0.3.0 passed this metric

Publish Metric
            

0.3.0 passed this metric

Supported Platforms Metric
            

0.3.0 failed this metric

oracle-client should declare what platform(s) it supports.

Testing File Metric
            

0.3.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 https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.0 passed this metric