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::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 for an explanation on how to do this.
–++–
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'manifests/admin_server/wls_cluster.pp', line 35
class wls_profile::admin_server::wls_cluster(
String[1] $domain_name,
String[1] $cluster_name,
Hash $cluster_defaults,
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,
}
}
|