cookbook 'oracle-instantclient', '= 1.0.0'
oracle-instantclient (5) Versions 1.0.0 Follow6
Installs the Oracle Instant Client and SQL*Plus
cookbook 'oracle-instantclient', '= 1.0.0', :supermarket
knife supermarket install oracle-instantclient
knife supermarket download oracle-instantclient
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.
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.
Only tested with:
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
and variants (Oracle Enterprise Linux, CentOS, Scientific)
Add the default recipe to your run list. This will install just Instant Client.
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)
The default recipe installs only the basic Instant Client.
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.
The sdk recipe will install Instant Client's devel package.
The sqlplus recipe will install both the Instant Client and SQL*Plus.
Author and License
- Author:: Julian C. Dunn (email@example.com)
- Copyright:: 2013, Opscode, 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
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.
This cookbook has no specified dependencies.