wls_needs_restart
Overview
This resource allows you to manage a required restart of a WebLogic domain.
Here is an example on how you should use this:
wls_needs_restart { 'domain':
refresh =>
}
Attributes
| Attribute Name | Short Description |
|---|---|
| name | With this parameter, you identify the domain, you want to check for a restart. |
| now | Valid values are 0, 1. |
| provider | resource. |
| timeout | Timeout for applying a resource. |
name
With this parameter, you identify the domain, you want to check for a restart.
wls_needs_restart{‘domain_name’: … }
Back to overview of wls_needs_restart
now
Does WebLogic need a restart now?
Valid values are 0, 1.
Back to overview of wls_needs_restart
provider
The specific backend to use for this wls_needs_restart
resource. You will seldom need to specify this — Puppet® will usually
discover the appropriate provider for your platform.Available providers are:
- simple
- Manage a WebLogic domain restart via regular WLST
Back to overview of wls_needs_restart
timeout
Timeout for applying a resource.
To be sure no Puppet® operation, hangs a Puppet® daemon, all operations have a timeout. When this timeout expires, Puppet® will abort the current operation and signal an error in the Puppet® run.
With this parameter, you can specify the length of the timeout. The value is specified in seconds. In
this example, the timeout is set to 600 seconds.
wls_server{'my_server':
...
timeout => 600,
}
The default value for timeout is 120 seconds.
