packdomain
Overview
This defined type allows you pack the definition of your domain into a file. Using ora_install::copydomain, you can copy it to an other node and create a WebLogic cluster.
Here is an example on how you could use this:
ora_install::packdomain{"Wls12c":
weblogic_home_dir => "/opt/oracle/middleware12c/wlserver",
middleware_home_dir => "/opt/oracle/middleware12c",
jdk_home_dir => "/usr/java/jdk1.7.0_45",
wls_domains_dir => "/opt/oracle/domains",
domain_name => "Wls12c",
os_user => "oracle",
os_group => "dba",
download_dir => "/data/install",
}
Experience the Power of Puppet for WebLogic
If you want to play and experiment with Puppet and WebLogic, please take a look at our playgrounds. At our playgrounds, we provide you with a pre-installed environment, where you experiment fast and easy.

Attributes
Attribute Name | Short Description |
---|---|
domain_name | The domain name. |
download_dir | The directory where the Puppet software puts all downloaded files. |
jdk_home_dir | The homdirectory for the Java evelopment Kit. |
logoutput | log the outputs of Puppet exec or not. |
middleware_home_dir | Middleware home directory. |
os_group | The os group used to install and run WebLogic. |
os_user | The os user used to install and run WebLogic. |
version | The version that is installed in the used Oracle home. |
weblogic_home_dir | Directory to use as WebLogic home. |
wls_domains_dir | The root directory where all domain directories reside in. |
version
The version that is installed in the used Oracle home.
Puppet uses this value to decide on version specific actions.
Type: Wls_install::Versions
Default:lookup({name => 'wls_version', default_value => 1111})
Back to overview of packdomain
weblogic_home_dir
Directory to use as WebLogic home.
Type: Stdlib::Absolutepath
Default:lookup({name => 'wls_weblogic_home_dir'})
Back to overview of packdomain
middleware_home_dir
Middleware home directory.
Type: Stdlib::Absolutepath
Default:lookup({name => 'wls_middleware_home_dir'})
Back to overview of packdomain
jdk_home_dir
The homdirectory for the Java evelopment Kit.
Type: Stdlib::Absolutepath
Default:lookup({name => 'wls_jdk_home_dir'})
Back to overview of packdomain
wls_domains_dir
The root directory where all domain directories reside in.
Type: Stdlib::Absolutepath
Default:lookup({name => 'wls_domains_dir', default_value => undef})
Back to overview of packdomain
domain_name
The domain name.
Type: String[1]
Default:lookup({name => 'domain_name'})
Back to overview of packdomain
os_user
The os user used to install and run WebLogic.
Type: String[1]
Default:lookup({name => 'wls_os_user'})
Back to overview of packdomain
os_group
The os group used to install and run WebLogic.
Type: String[1]
Default:lookup({name => 'wls_os_group'})
Back to overview of packdomain
download_dir
The directory where the Puppet software puts all downloaded files.
Before Puppet can actually use remote files, they must be downloaded first. Puppet uses this directory to put all files in.
The default value is: /install
Type: Stdlib::Absolutepath
Default:lookup({name => 'wls_download_dir'})
Back to overview of packdomain
logoutput
log the outputs of Puppet exec or not.
When you specify true
Puppet will log all output of exec
types.
Valid values are:
true
false
on_failure
Type: Variant[ Boolean, Enum[ 'on_failure' ] ]
Default:lookup({name => 'logoutput', default_value => 'on_failure'})