Install >

Puppet

The Puppet modules are used to manage configurations and WUM updates.

System Requirements

  • Unix-based operating system
  • Functioning Internet connection

Prerequisites

  • Install the Puppet server in the master node by following the Installation guide here.
  • Install the Puppet agent in the agent nodes by following the Installation guide here.

This guide assumes that the puppet environment is set up at /etc/puppet/code/environments/production. However, you can use any location by substituting the Puppet environment.

1

The Puppet package for WSO2 Stream Processor can be downloaded from here in the ZIP format.


2

From the Master node, download the package and unzip it to the Puppet environment.

unzip puppet-sp.zip -d /etc/puppet/code/environments/production/
3

Navigate to the sp_editor_master module and run the build script.

cd /etc/puppet/code/environments/production/modules/sp_editor_master/
./build.sh


NOTE: If the puppet environment is set up elsewhere, change the value of the puppet_env variable in build.sh to the absolute path of the puppet environment.


While running the script, you are prompted to confirm whether you are a WSO2 subscription user. Answer accordingly and wait until the build is completed successfully.

4

Run the following commands on all of the Agent nodes.

export FACTOR_runtime=editor
puppet agent -vt
5

After the deployment has started, go to the following URL (web UI) using your web browser and log in using the default credentials.

https://<ip-address>:9390/editor
Username: admin
Password: admin