- Description
- Setup - The basics of getting started with apics
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
The apics module provides types and tasks for managing an Oracle API Platform gateway node.
Users of this module are responsible for the following prerequisites:
- Installing the
unzip
package - Installing a certified Oracle JDK
- Creating the gateway node user and group
Extract the gateway node installer.
apics::gateway_installer { '/opt/installer':
ensure => present,
owner => 'oracle',
group => 'oracle',
source => '/tmp/ApicsGatewayInstaller.zip',
}
Create the gateway property file in the installer directory.
apics::gateway_props { '/opt/installer/gateway-props.json':
ensure => present,
owner => 'oracle',
group => 'oracle',
content => {
'nodeInstallDir' => '/opt/oracle/gateway',
'listenIpAddress' => $facts['ipaddress'],
# ...
},
}
Use the apics::gateway
task to execute gateway actions on nodes.
bolt task run apics::gateway --targets node1 \
java_home=/usr/java/default \
path=/opt/installer \
file=gateway-props.json \
action=status
To pass additional key value pairs to the action, pass a JSON array of pairs to
the keyvalue
parameter.
bolt task run apics::gateway --targets node1 \
java_home=/usr/java/default \
path=/opt/installer \
file=gateway-props.json \
action=join \
keyvalue='["logicalGatewayId=123"]'
See REFERENCE.md.
For a list of supported operating systems, see metadata.json.
Acceptance tests for this module leverage puppet_litmus.