This repository contains the Puppet modules for WSO2 Enterprise Integrator and the profiles related to Enterprise Integrator Analytics.
-
Download a wso2ei-6.6.0.zip pack and copy it to the
<puppet_environment>/modules/ei_common/files/packs
directory in the Puppetmaster. -
Set up the JDK distribution as follows:
The Puppet modules for WSO2 products use Amazon Coretto as the JDK distribution. However, you can use any supported JDK distribution.
- Download Amazon Coretto for Linux x64 from here and copy .tar into the
<puppet_environment>/modules/ei_common/files/jdk
directory. - Reassign the $jdk_name variable in
<puppet_environment>/modules/ei_common/manifests/params.pp
to the name of the downloaded JDK distribution.
- Download Amazon Coretto for Linux x64 from here and copy .tar into the
-
Run the relevant profile on the Puppet agent.
- Integrator profile:
export FACTER_profile=ei_integrator puppet agent -vt
- Business Process profile:
export FACTER_profile=ei_bps puppet agent -vt
- Broker profile:
export FACTER_profile=ei_broker puppet agent -vt
- Analytics profiles:
- Dashboard:
export FACTER_profile=ei_analytics_dashboard puppet agent -vt
- Worker:
export FACTER_profile=ei_analytics_worker puppet agent -vt
- Dashboard:
- Integrator profile:
The run stages for Puppet are described in <puppet_environment>/manifests/site.pp
, and they are of the order Main -> Custom.
Each Puppet module contains the following .pp files.
- Main
- params.pp: Contains all the parameters necessary for the main configuration and template.
- init.pp: Contains the main script of the module.
- Custom
- custom.pp: Used to add custom configurations to the Puppet module.