Overview

Installs the Oracle client software.

Using this defined type you can install the Oracle client software on your system.

Here is an example on how to use it:

ora_install::client{ '12.1.0.1_Linux-x86-64':
  version                   => '12.1.0.1',
  file                      => 'linuxamd64_12c_client.zip',
  oracle_base               => '/oracle',
  oracle_home               => '/oracle/product/12.1/client',
  user                      => 'oracle',
  group                     => 'dba',
  group_install             => 'oinstall',
  download_dir              => '/install',
  bash_profile              => true,
  remote_file               => true,
  puppet_download_mnt_point => "puppet:///modules/ora_install/",
  logoutput                 => true,
}

support for multiple versions

This defined type has support for installing different versions of the client software on your system. In order to do this use the defined type multiple times in you manifest and use a different oracle_home and a different file.

Attributes

Attribute Name Short Description
bash_profile Create a bash profile for the specified user or not.
db_port The IP port to use for database communication.
download_dir The directory where the Puppet software puts all downloaded files.
file The source file to use.
group The os group to use for these Oracle puppet definitions.
group_install The os group to use for installation.
logoutput log the outputs of Puppet exec or not.
oracle_base A directory to use as Oracle base directory.
oracle_home A directory to be used as Oracle home directory for this software.
puppet_download_mnt_point The base path of all remote files for the defined type or class.
remote_file This parameter is not being used anymore and will be removed in a future release.
temp_dir Directory to use for temporary files.
user The user used for the specified installation.
user_base_dir The directory to use as base directory for the users.
version The version that is installed in the used Oracle home.

bash_profile

Create a bash profile for the specified user or not.

Valid values are true and false.

When you specify a true for the parameter, Puppet will create a standard bash profile for the specified user. The bash profile will be placed in a directory named user_base_dir/user.

ora_install::client { 'Oracle client':
  ...
  bash_profile  => true,
  user          => 'oracle',
  user_base_dir => '/home',
  ...
}

This snippet will create a bash profile called /home/oracle/.bash_profile.

Back to overview of client

db_port

The IP port to use for database communication.

The default value is: 1521

Back to overview of client

download_dir

The directory where the Puppet software puts all downloaded files.

Before Puppet can actually use remote files, they must be downloaded first. Puppet uses this directory to put all files in.

The default value is: /install

Back to overview of client

file

The source file to use.

Back to overview of client

group

The os group to use for these Oracle puppet definitions.

The default value is: dba

Back to overview of client

group_install

The os group to use for installation.

The default value is: oinstall

Back to overview of client

logoutput

log the outputs of Puppet exec or not.

When you specify true Puppet will log all output of exec types.

Valid values are:

  • true
  • false
  • on_failure

Back to overview of client

oracle_base

A directory to use as Oracle base directory.

Back to overview of client

oracle_home

A directory to be used as Oracle home directory for this software.

Back to overview of client

puppet_download_mnt_point

The base path of all remote files for the defined type or class.

The default value is: puppet:///modules/ora_install

Back to overview of client

remote_file

DEPRECATED This parameter is not being used anymore and will be removed in a future release.

true.

Back to overview of client

temp_dir

Directory to use for temporary files.

Back to overview of client

user

The user used for the specified installation. The install class will not create the user for you. You must do that yourself.

The default value is: oracle

Back to overview of client

user_base_dir

The directory to use as base directory for the users.

Back to overview of client

version

The version that is installed in the used Oracle home.

Puppet uses this value to decide on version specific actions.

Back to overview of client