Puppet Class: wls_profile::admin_server::pack_domain
- Inherits:
- wls_profile
- Defined in:
- manifests/admin_server/pack_domain.pp
Summary
This class is the default implementation for packing a domain on the current server.Overview
wls_profile::admin_server::pack_domain
The packed domain can be used to create other WebLogic nodes in the same domain. When you are creating just a single node WebLogic server, you can skip this class.
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.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'manifests/admin_server/pack_domain.pp', line 50
class wls_profile::admin_server::pack_domain (
String[1] $domain_name,
Stdlib::Absolutepath
$domains_dir,
Stdlib::Absolutepath
$jdk_home,
Stdlib::Absolutepath
$middleware_home,
String[1] $os_group,
String[1] $os_user,
Stdlib::Absolutepath
$weblogic_home
) inherits wls_profile {
echo { "WebLogic pack domain ${domain_name}":
withpath => false,
}
#
# This resource definition pack's the current definition of the domain. This packed domain file
# can be used by other nodes in the cluster. They fetch it, unpack it and use it to enter the domain.
# When the node is part of the domain, the packed file loses its value. Any changes in the domain are managed
# by webLogic.
#
wls_install::packdomain { $domain_name:
domain_name => $domain_name,
weblogic_home_dir => $weblogic_home,
middleware_home_dir => $middleware_home,
jdk_home_dir => $jdk_home,
wls_domains_dir => $domains_dir,
os_user => $os_user,
os_group => $os_group,
download_dir => "${domains_dir}/${domain_name}",
}
}
|