fixpack
Overview
The defined type db2_install::fixoack
allows you to install specified fixpacks on your system. The fixpacks will be added on top of your software installation managed by db2_install::software
.
The simples way to use it is:
db2_install::fixpack {' Fixpack 11.5.7 on /opt/ibm/db2/V11.5':
version => '11.5.7',
location => '/opt/ibm/db2/V11.5',
file_name => 'v11.5.7_linuxx64_universal_fixpack.tar.gz',
}
Based on this puppet code, Puppet will install DB2 fixpack 11.5.7. In the lcation /opt/ibm/db2/V11.5
.
Attributes
Attribute Name | Short Description |
---|---|
allow_insecure | When set to true Ignore HTTPS certificate errors |
file_name | The file containing the install kit for the DB2 software. |
location | |
logoutput | If you want to see the output of the exec resources in the type, you can set this value to true . |
source | The location of the DB2 software. |
temp_dir | This defined type uses a temporary directory. |
version | The version to be installed. |
temp_dir
This defined type uses a temporary directory. By default this is \tmp
. If you want to use an other directory for this, you must specify this parameter.
Here is an example on how to use this:
class { '::db2_install::...':
...
temp_dir => '/my_tmp_dir',
...
}
On systems with a secured /tmp
direcory, you MUST specify the tmp_dir
parameter and specify a directory that puppet is allowed to execute scripts from. It must also have enough space to receive the extracted MQ installation kit.
Type: Stdlib::Absolutepath
Default:'/tmp'
version
The version to be installed. Here is an example on how to use this:
class { '::db2_install::software':
...
version => '11.0.0.0',
...
}
Type: String[1]
source
The location of the DB2 software.
Here is an example on how to use this:
class { '::db2_install::...':
...
source => '/software',
...
}
Type: String[1]
file_name
The file containing the install kit for the DB2 software.
Type: String[1]
location
The locatin where the DB2 sofware is or will be installed. Type: Stdlib::Absolutepath
logoutput
If you want to see the output of the exec
resources in the type, you can set this value to true
. The default is on_failure
.
Here is an example on how to use this:
class { '::db2_install::...':
...
logoutput => true,
...
}
Type: Variant[Boolean,Enum['on_failure']]
Default:lookup( { name => 'logoutput', default_value => 'on_failure' })
allow_insecure
When set to true
Ignore HTTPS certificate errors
(default: false) Type: Boolean
Default:lookup( { name => 'allow_insecure', default_value => false })