Puppet Class: db2_profile::database::db_software_multiple
- Defined in:
- manifests/database/db_software_multiple.pp
Summary
This class allows you in install mutiple instances of DB2 sofware on your system.Overview
db2_profile::database::db_software_multiple
See the file “LICENSE” for the full license governing this code.
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'manifests/database/db_software_multiple.pp', line 22
class db2_profile::database::db_software_multiple (
Hash[String[1], Db2_profile::Sw_def] $software,
String[1] $source,
) {
easy_type::debug_evaluation() # Show local variable on extended debug
$software.each |$name, $properties| {
$version = $properties['version']
$location = $properties['location']
$file_name = $properties['file_name']
echo { "Ensure DB2 software ${version} in ${location}":
withpath => false,
}
db2_install::software { "DB2 version ${version} in ${location}":
version => $version,
source => $source,
file_name => $file_name,
location => $location,
}
}
}
|