apics
Table of Contents
- 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
Description
The apics module installs and configures an Oracle API Platform gateway node.
Setup
What apics affects
When declared with the minimum required attributes, Puppet will attempt to:
- Install the
unzip
package and Oracle JDK - Create the gateway node user and group
- Download and extract the gateway node installer
- Configure the
gateway-props.json
file - Deploy and start the gateway node
Beginning with apics
To install a gateway node, declare the apics
class:
class { 'apics':
installer_source => '/path/to/ApicsGatewayInstaller.zip',
java_package_source => '/path/to/jdk.rpm',
java_package_version => '8u251',
gateway_admin_password => 'Welcome1',
}
Usage
Registering the gateway node
To ensure the node can be registered with its logical gateway, set the appropriate parameters:
class { 'apics':
logical_gateway_id => 100,
management_service_url => 'https://test.apiplatform.ocp.example.com',
idcs_url => 'https://idcs.example.com/oauth2/v1/token',
request_scope => 'https://apiplatform.example.com.apiplatform offline_access',
}
Managing the gateway user and group
By default, the apics
module will create a user and group named oracle.
To specify a different name for either resource, use the user
and group
parameters:
class { 'apics':
user => 'foo',
group => 'bar',
}
To prevent Puppet from managing the user or group, use the manage_user
and manage_group
parameters:
class { 'apics':
manage_user => false,
manage_group => false,
}
Reference
See REFERENCE.md.
Limitations
For a list of supported operating systems, see metadata.json.
Development
Acceptance tests for this module leverage puppet_litmus.