Overview

[DEPRECATED] Wrapper defined type for installing patches.

Please useora_opatch to manage patches of your database software.

Here is an example on how to use this:

ora_install::opatch{'19121551_db_patch':
  ensure                    => 'present',
  oracle_product_home       => hiera('oracle_home_dir'),
  patch_id                  => '19121551',
  patch_file                => 'p19121551_112040_Linux-x86-64.zip',
  user                      => hiera('oracle_os_user'),
  group                     => 'oinstall',
  download_dir              => hiera('oracle_download_dir'),
  ocmrf                     => true,
  require                   => Ora_install::Opatchupgrade['112000_opatch_upgrade_db'],
  puppet_download_mnt_point => hiera('oracle_source'),
}

Experience the Power of Puppet for Oracle

If you want to play and experiment with Puppet and Oracle, please take a look at our playgrounds. At our playgrounds, we provide you with a pre-installed environment, where you experiment fast and easy.

Attributes

Attribute Name Short Description
bundle_sub_folder The folder in the zip file used for the specified patch.
bundle_sub_patch_id The subid of the patch.
clusterware When true use opatch auto.
download_dir The directory where the Puppet software puts all downloaded files.
ensure State to obtain.
group The os group to use for these Oracle puppet definitions.
ocmrf Wether or not to use OCMRF file.
oracle_product_home The Oracle home to use.
patch_file The name of the patch file.
patch_id The ID of the patch to apply.
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.
user The user used for the specified installation.

bundle_sub_folder

The folder in the zip file used for the specified patch.

Type: Optional[Integer]

Default:undef

Back to overview of opatch

bundle_sub_patch_id

The subid of the patch.

Type: Optional[Integer]

Default:undef

Back to overview of opatch

clusterware

When true use opatch auto.

Default value false

Type: Boolean

Default:false

Back to overview of opatch

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

Type: Stdlib::Absolutepath

Default:'/install'

Back to overview of opatch

ensure

State to obtain.

The ensure attribute can be one of two values:

  • present
  • absent

When you specify present, Puppet will make sure the resource is available with all specified options and properties.

When the resource is already available(installed), and all attributes are as the are specified, Puppet will do nothing.

When you specify absent, Puppet will remove the resource if it is available. If it is not installed, Puppet will do nothing.

Type: Enum[present, absent]

Default:present

Back to overview of opatch

group

The os group to use for these Oracle puppet definitions.

The default value is: dba

Type: String[1]

Default:'dba'

Back to overview of opatch

ocmrf

Wether or not to use OCMRF file.

The default value is: false

Type: Boolean

Default:false

Back to overview of opatch

oracle_product_home

The Oracle home to use.

Type: Stdlib::Absolutepath

Default:undef

Back to overview of opatch

patch_file

The name of the patch file.

Type: String[1]

Default:undef

Back to overview of opatch

patch_id

The ID of the patch to apply.

Type: Integer

Default:undef

Back to overview of opatch

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

Type: Optional[String[1]]

Default:undef

Back to overview of opatch

remote_file

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

true.

Type: Optional[Boolean]

Default:undef

Back to overview of opatch

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

Type: String[1]

Default:'oracle'

Back to overview of opatch