cookbook 'oracle-instantclient', '~> 1.1.0'
oracle-instantclient (5) Versions 1.1.0 Follow6
Installs the Oracle Instant Client and SQL*Plus
cookbook 'oracle-instantclient', '~> 1.1.0', :supermarket
knife supermarket install oracle-instantclient
knife supermarket download oracle-instantclient
Description
This cookbook is used to configure a system with the Oracle Instant Client and, optionally, SQL*Plus. The primary objective is to let you interact with remote Oracle servers easily.
Requirements
You must download the RPMs in advance from Oracle yourself and accept the EULA. The RPMs must be placed on a server that can serve it up over HTTP, and you must set the URLs to the Instant Client and SQL*Plus RPMs.
Platforms
Only tested with:
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
and variants (Oracle Enterprise Linux, CentOS, Scientific)
Usage
Add the default recipe to your run list. This will install just Instant Client.
Attributes
-
node['oracle-instantclient']['public-url']
- The URL of where you are hosting the RPMs -
node['oracle-instantclient']['sqlplus-rpm']
- The filename of the SQL*Plus RPM -
node['oracle-instantclient']['basic-rpm']
- The filename of the basic Instant Client RPM -
node['oracle-instantclient']['version']
- The version of Oracle e.g. "12.1" - as used by rpm installation prefix in "/usr/lib/oracle/<version>" -
node['oracle-instantclient']['sdk-rpm']
- The filename of the basic development libraries (used by ruby recipe)
Recipes
default
The default recipe installs only the basic Instant Client.
ruby
The ruby recipe will install the OCI8 driver for Ruby. You need a compiler on the system, since this will build native extensions against the development libraries.
sdk
The sdk recipe will install Instant Client's devel package.
sqlplus
The sqlplus recipe will install both the Instant Client and SQL*Plus.
Author and License
- Author:: Julian C. Dunn (jdunn@opscode.com)
- Contributor:: Friedrich Clausen friedrich.clausen@blackboard.com
- Copyright:: 2013-2014, Chef Software, 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.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
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: oracle-instantclient/metadata.rb:1
FC065: Ensure source_url is set in metadata: oracle-instantclient/metadata.rb:1
FC066: Ensure chef_version is set in metadata: oracle-instantclient/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: oracle-instantclient/metadata.rb:1
FC069: Ensure standardized license defined in metadata: oracle-instantclient/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: oracle-instantclient/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.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
1.1.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 include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.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
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: oracle-instantclient/metadata.rb:1
FC065: Ensure source_url is set in metadata: oracle-instantclient/metadata.rb:1
FC066: Ensure chef_version is set in metadata: oracle-instantclient/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: oracle-instantclient/metadata.rb:1
FC069: Ensure standardized license defined in metadata: oracle-instantclient/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: oracle-instantclient/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.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
1.1.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 include a tag that matches this cookbook version number
1.1.0 failed this metric
FC065: Ensure source_url is set in metadata: oracle-instantclient/metadata.rb:1
FC066: Ensure chef_version is set in metadata: oracle-instantclient/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: oracle-instantclient/metadata.rb:1
FC069: Ensure standardized license defined in metadata: oracle-instantclient/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: oracle-instantclient/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.0 passed this metric
Testing File Metric
1.1.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
1.1.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 include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.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 include a tag that matches this cookbook version number