opatch
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'),
}
Attributes
| Attribute Name | Short Description |
|---|---|
| allow_insecure | When set to true Ignore HTTPS certificate errors |
| 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
bundle_sub_patch_id
The subid of the patch.
Type: Optional[Integer]
Default:undef
clusterware
When true use opatch auto.
Default value false
Type: Boolean
Default:false
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'
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
group
The os group to use for these Oracle puppet definitions.
The default value is: dba
Type: String[1]
Default:'dba'
ocmrf
Wether or not to use OCMRF file.
The default value is: false
Type: Boolean
Default:false
oracle_product_home
The Oracle home to use.
Type: Stdlib::Absolutepath
Default:undef
patch_file
The name of the patch file.
Type: String[1]
Default:undef
patch_id
The ID of the patch to apply.
Type: Integer
Default:undef
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
remote_file
DEPRECATED This parameter is not being used anymore and will be removed in a future release.
true.
Type: Optional[Boolean]
Default:undef
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'
allow_insecure
When set to true Ignore HTTPS certificate errors
(default: false)
Type: Boolean
Default:lookup( { name => 'allow_insecure', default_value => false })
