Defined Type: wildfly::datasources::db_property
- Defined in:
- manifests/datasources/db_property.pp
Overview
Configures connection property in a database
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/datasources/db_property.pp', line 8
define wildfly::datasources::db_property (
String $database,
Optional[String] $value = undef,
Optional[String] $target_profile = undef,
) {
$params = {
'value' => $value,
}
wildfly::resource { "/subsystem=datasources/data-source=${database}/connection-properties=${title}":
content => $params,
profile => $target_profile,
}
}
|