Overview

This class contains the definition of the Oracle software you want to use on this system.

When these customizations aren’t enough, you can replace the class with your own class. See ora_profile::database for an explanation on how to do this.

Attributes

Attribute Name Short Description
bash_additions The text to add at the end of the bash_profile.
bash_profile Whether or not to deploy bash_profile for $os_user or $grid_user
   
database_type The type of database to define.
dba_group The group to use for Oracle DBA users.
dirs The directories to create as part of the installation.
file_name The file name containing the Oracle database software kit.
oper_group The oper group for the database.
oracle_base The base directory to use for the Oracle installation.
oracle_home The home directory to use for the Oracle installation.
os_user The OS user to use for Oracle install.
source The location where the classes can find the software.
user_base_dir The directory to use as base directory for the users.
version The version of Oracle you want to install.

version

The version of Oracle you want to install.

The default is : 19.0.0.0

To customize this consistently use the hiera key ora_profile::database::version.

Type: Ora_Install::Version

Back to overview of database::db_software

database_type

The type of database to define.

The default value is: SE2. Type: Enum['SE2','SE','EE','SEONE']

Back to overview of database::db_software

dirs

The directories to create as part of the installation.

The default value is:

ora_profile::database::db_software::dirs:
  - /u02
  - /u03
  - /u02/oradata
  - /u03/fast_recovery_area

Type: Array[Stdlib::Absolutepath]

Back to overview of database::db_software

dba_group

The group to use for Oracle DBA users.

The default is : dba

To customize this consistently use the hiera key ora_profile::database::dba_group.

Type: String[1]

Back to overview of database::db_software

oper_group

The oper group for the database.

The default is : oper

Type: String[1]

Back to overview of database::db_software

os_user

The OS user to use for Oracle install.

The default is : oracle

To customize this consistently use the hiera key ora_profile::database::os_user.

Type: String[1]

Back to overview of database::db_software

oracle_base

The base directory to use for the Oracle installation.

The default is : /u01/app/oracle

To customize this consistently use the hiera key ora_profile::database::install_group.

Type: Stdlib::Absolutepath

Back to overview of database::db_software

oracle_home

The home directory to use for the Oracle installation.

The default is : /u01/app/oracle/product/#{version}/db_home1

To customize this consistently use the hiera key ora_profile::database::oracle_home for a single ORACLE_HOME.

This parameter can also be specified as Hash if you need to install multiple ORACLE_HOME’s. The keys of the hash are just a name. For every key all parameters that are valid for ora_install::installdb can be specified.

For example:

ora_profile::database::db_software::oracle_home:
  18cORACLE_HOME1:
    version:     "%{lookup('ora_profile::database::version')}"
    file:        "%{lookup('ora_profile::database::db_software::file_name')}"
    oracle_home: "/u01/app/oracle/product/%{lookup('ora_profile::database::version')}/db_home1"
  18cORACLE_HOME2:
    version:     "%{lookup('ora_profile::database::version')}"
    file:        "%{lookup('ora_profile::database::db_software::file_name')}"
    oracle_home: "/u01/app/oracle/product/%{lookup('ora_profile::database::version')}/db_home2"
  12cR1ORACLE_HOME1:
    version:     12.1.0.2
    file:        linuxamd64_12102_database
    oracle_home: /u01/app/oracle/product/12.1.0.2/db_home1
  12cR1ORACLE_HOME2:
    version:     12.1.0.2
    file:        linuxamd64_12102_database
    oracle_home: /u01/app/oracle/product/12.1.0.2/db_home2
  12cR1ORACLE_HOME3:
    version:     12.1.0.2
    file:        linuxamd64_12102_database
    oracle_home: /u01/app/oracle/product/12.1.0.2/db_home3
  12cR2ORACLE_HOME1:
    version:      12.2.0.1
    file:         linuxx64_12201_database
    oracle_home: /u01/app/oracle/product/12.2.0.1/db_home1

Type: Variant[Stdlib::Absolutepath,Hash]

Back to overview of database::db_software

source

The location where the classes can find the software.

You can specify a local directory, a Puppet® url or an http url.

The default is : puppet:///modules/software/

To customize this consistently use the hiera key ora_profile::database::source.

Type: String[1]

Back to overview of database::db_software

file_name

The file name containing the Oracle database software kit.

The default is: linuxx64_12201_database Type: String[1]

Back to overview of database::db_software

bash_profile

Whether or not to deploy bash_profile for $os_user or $grid_user

The default is : true

Type: Boolean

Back to overview of database::db_software

bash_additions

The text to add at the end of the bash_profile. This parameter will only be used when you have specified true for the parameter bash_profile

The default value is an empty string.

Type: String

Back to overview of database::db_software

user_base_dir

The directory to use as base directory for the users.

Type: Stdlib::Absolutepath

Back to overview of database::db_software