database::db fixpack
Overview
This class ensure’s that the correct DB2 fixpack is installed.
Attributes
Attribute Name | Short Description |
---|---|
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'
Back to overview of database::db_fixpack
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: Optional[String[1]]
Default:undef
Back to overview of database::db_fixpack
source
The location of the DB2 software.
Here is an example on how to use this:
class { '::db2_install::...':
...
source => '/software',
...
}
Type: String[1]
Back to overview of database::db_fixpack
file_name
The file containing the install kit for the DB2 software.
Type: Optional[String[1]]
Default:undef
Back to overview of database::db_fixpack
location
The locatin where the DB2 sofware is or will be installed. Type: Stdlib::Absolutepath
Back to overview of database::db_fixpack
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' })