This repository contains puppet modules for each profile relates to Enterprise Integrator.
-
Download and copy the
wso2ei-linux-installer-x64-6.4.0.deb
or/andwso2ei-linux-installer-x64-6.4.0.rpm
to the files directories in/etc/puppet/code/environments/dev/modules/__profile__/files
in the Puppetmaster.
Profile refers to each profile in Enterprise Integrator.
eg:/etc/puppet/code/environments/dev/modules/ei_integrator/files
Dev refers to the sample environment that you can try these modules. -
Run necessary profile on puppet agent. More details on this are available in the following section.
This section describes how to run each profile in a puppet agent.
export FACTER_profile=ei_integrator
puppet agent -vt
export FACTER_profile=ei_broker
puppet agent -vt
export FACTER_profile=ei_bps
puppet agent -vt
export FACTER_profile=ei_analytics
puppet agent -vt
export FACTER_profile=ei_micro_integrator
puppet agent -vt
export FACTER_profile=ei_msf4j
puppet agent -vt
In this project each profle of Enterprise Integrator is mapped to a module in puppet. By having this structure each puppet module is considered as a standalone profile so each module can be configured individually without harming any other module.
puppet-ei
├── manifests
│ └── site.pp
└── modules
├── ei_integrator
│ ├── files
│ │ └── ...
│ ├── manifests
│ │ ├── init.pp
│ │ ├── custom.pp
│ │ ├── params.pp
│ │ └── startserver.pp
│ └── templates
│ └── ...
├── ei_broker
│ ├── files
│ │ └── ...
│ ├── manifests
│ │ ├── init.pp
│ │ ├── custom.pp
│ │ ├── params.pp
│ │ └── startserver.pp
│ └── templates
│ └── ...
├── ei_bps
│ ├── files
│ │ └── ...
│ ├── manifests
│ │ ├── init.pp
│ │ ├── custom.pp
│ │ ├── params.pp
│ │ └── startserver.pp
│ └── templates
│ └── ...
├── ei_analytics
│ ├── files
│ │ └── ...
│ ├── manifests
│ │ ├── init.pp
│ │ ├── custom.pp
│ │ ├── params.pp
│ │ └── startserver.pp
│ └── templates
│ └── ...
├── ei_micro_integrator
│ ├── files
│ │ └── ...
│ ├── manifests
│ │ ├── init.pp
│ │ ├── custom.pp
│ │ ├── params.pp
│ │ └── startserver.pp
│ └── templates
│ └── ...
└── ei_msf4j
├── files
│ └── ...
├── manifests
│ ├── init.pp
│ ├── custom.pp
│ ├── params.pp
│ └── startserver.pp
└── templates
└── ...
Each puppet module contains following pp files
- init.pp
This contains the main script of the module. - custom.pp
This is used to add custom user code to the profile. - params.pp
This contains all the necessary parameters for main configurations and template rendering. - startserver.pp
This runs finally and starts the server as a service.