Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wso2/puppet-ei
https://github.com/wso2/puppet-ei
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wso2/puppet-ei
- Owner: wso2
- License: apache-2.0
- Created: 2017-03-12T04:45:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-07T10:32:44.000Z (over 3 years ago)
- Last Synced: 2024-08-04T01:07:46.776Z (3 months ago)
- Language: HTML
- Size: 1.62 MB
- Stars: 37
- Watchers: 130
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-wso2-esb-ei - Puppet resources
README
# Puppet Modules for WSO2 Enterprise Integrator
This repository contains the Puppet modules for WSO2 Enterprise Integrator and the profiles related to Enterprise Integrator Analytics.
## Quick Start Guide
1. Download a wso2ei-6.6.0.zip pack and copy it to the `/modules/ei_common/files/packs` directory in the **Puppetmaster**.2. 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](https://docs.wso2.com/display/compatibility/Tested+Operating+Systems+and+JDKs).
1. Download Amazon Coretto for Linux x64 from [here](https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html) and copy .tar into the `/modules/ei_common/files/jdk` directory.
2. Reassign the *$jdk_name* variable in `/modules/ei_common/manifests/params.pp` to the name of the downloaded JDK distribution.
5. Run the relevant profile on the **Puppet agent**.
1. Integrator profile:
```bash
export FACTER_profile=ei_integrator
puppet agent -vt
```
2. Business Process profile:
```bash
export FACTER_profile=ei_bps
puppet agent -vt
```
3. Broker profile:
```bash
export FACTER_profile=ei_broker
puppet agent -vt
```
4. Analytics profiles:
1. Dashboard:
```bash
export FACTER_profile=ei_analytics_dashboard
puppet agent -vt
```
2. Worker:
```bash
export FACTER_profile=ei_analytics_worker
puppet agent -vt
```## Manifests in a module
![Module architecture](docs/images/module_architecture.png "Module architecture")
The run stages for Puppet are described in `/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.