Manages the SDK/JDK settings for WebSphere resources.
This doesn't manage the installation of them, but manages which SDK a particular WebSphere server/node uses.
Under the hood, the included provider is running managesdk.sh
websphere_sdk { 'SDK Version 1.7':
profile => 'PROFILE_APP_001',
server => 'all',
sdkname => '1.7.1_64',
instance_base => '/opt/IBM/WebSphere/AppServer',
new_profile_default => '1.7.1_64',
command_default => '1.7.1_64',
node => 'nodeagent',
user => 'webadmins',
}
Valid values: present
, absent
Defaults to true
. Specifies whether this application server should exist or
not.
The server in the scope for this variable.
This can be a specific server or all
to affect all servers
all
corresponds to the managesdk.sh
option -enableServers
The profile to modify.
Specify all
for all profiles. all
corresponds to the managesdk.sh
option -enableProfileAll
A specific profile name can also be provided. Example: PROFILE_APP_001
.
This corresponds to managesdk.sh
options -enableProfile -profileName
The name of the resource. This is only used for Puppet to identify the resource and has no influence over the commands used to make modifications or query SDK versions.
The name of the SDK to modify. Example: 1.7.1_64
The base directory that WebSphere is installed.
This is used to the managesdk
command can be found.
Example: /opt/IBM/WebSphere/AppServer/
Manages the SDK name that script commands in the app_server_root/bin, app_client_root/bin, or plugins_root/bin directory are enabled to use when no profile is specified by the command and when no profile is defaulted by the command.
Manages the SDK name that is currently configured for all profiles that are created with the manageprofiles command. The -sdkname parameter specifies the default SDK name to use. The sdkName value must be an SDK name that is enabled for the product installation.
The name of the node to create this server on. Refer to the
websphere_node
type for managing the creation of nodes.
Required. The name of the DMGR profile to create this application server under.
Examples: PROFILE_DMGR_01
or dmgrProfile01
Required. The full path to the profiles directory where the dmgr_profile
can
be found. The IBM default is /opt/IBM/WebSphere/AppServer/profiles
Optional. The user to run the wsadmin
command as. Defaults to "root"
Optional. The username for wsadmin
authentication if security is enabled.
Optional. The password for wsadmin
authentication if security is enabled.