Puppet Class: wls_profile::admin_server::wls_cluster
- Inherits:
- wls_profile
- Defined in:
- manifests/admin_server/wls_cluster.pp
Summary
This class is the default implementation for creating a WebLogic cluster on your system.Overview
wls_profile::admin_server::wls_cluster
Using hiera, you can customize some of the aspects of this process.
When these customizations aren’t enough, you can replace the class with your own class. See [wls_profile::admin_server](./admin_server.html) for an explanation on how to do this.
See the file “LICENSE” for the full license governing this code.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'manifests/admin_server/wls_cluster.pp', line 36
class wls_profile::admin_server::wls_cluster (
Hash $cluster_defaults,
String[1] $cluster_name,
String[1] $domain_name,
Hash $servers = $wls_profile::servers
) inherits wls_profile {
$server_array = $servers.keys
echo { "WebLogic cluster ${cluster_name} with servers ${server_array.join(',')}":
withpath => false,
}
wls_cluster { "${domain_name}/${cluster_name}":
ensure => 'present',
servers => $server_array,
* => $cluster_defaults,
}
}
|