Forge Home

wso2

Install and run WSO2 products

10,765 downloads

10,418 latest version

3.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.3.0 (latest)
  • 0.2.0
released Nov 29th 2012

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'erwbgy-wso2', '0.3.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add erwbgy-wso2
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install erwbgy-wso2 --version 0.3.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

erwbgy/wso2 — version 0.3.0 Nov 29th 2012

puppet-wso2esb

Puppet module to install WSO2 products and set them up to run as Runit services under one or more users.

The recommended usage is to place the configuration is hiera and just:

include wso2

Example hiera config:

# Enterprise Service Bus
wso2::esb:
  wso2esb1:
    extra_jars:
      - coherence-3.7.1.6.jar
      - mysql-connector-java-5.1.21.jar
      - WSDL_Mediator-2.0.0.jar
    group: wso2
    java_home: /usr/java/jdk1.7.0_07
    version: 4.5.1
  wso2esb2:
    extra_jars:
      - mysql-connector-java-5.1.21.jar
    java_home: /usr/java/jdk1.6.0_37
    version: 4.5.0

# Identity Server
wso2::is:
  wso2is1:
    extra_jars:
      - mysql-connector-java-5.1.21.jar
    group: wso2
    java_home: /usr/java/jdk1.7.0_07
    version: 4.0.0

# Governance Registry
wso2::greg:
  wso2greg1:
    extra_jars:
      - mysql-connector-java-5.1.21.jar
    version: 4.5.2

# API Manager
wso2::am:
  wso2am1:
    extra_jars:
      - mysql-connector-java-5.1.21.jar
    version: 1.2.0

# Business Activity Monitor
wso2::bam:
  wso2bam1:
    extra_jars:
      - mysql-connector-java-5.1.21.jar
    version: 2.0.1

Parameters

All product classes take following parameters:

title: The user the product runs as

bind_address: The IP address listen sockets are bound to. Default: $::fqdn

db_name: Database name. Default: "wso2-${title}",

db_username: Database username. Default: 'wso2registry',

db_password: Database user password. Default: 'VR...Dw',

db_vendor: The database vendor. Possible values: 'undef' or 'h2' for default H2 database; 'mysql'. Default: 'mysql',

jdbc_url: Default: "jdbc:mysql://localhost:3306/wso2-${title}",

jdbc_driver: Default: 'com.mysql.jdbc.Driver',

extra_jars: Additional jar files to be placed in the repository/component/lib directory

group: The user's primary group. Default: 'wso2',

home: The parent directory of user home directories Default: '/home',

java_home: The base directory of the JDK installation to be used. Default: '/usr/java/latest',

java_opts: Additional java command-line options to pass to the startup script

version: The version of the product to install (eg. 4.5.1). Required.

Product zip files

Place the product zip files (eg. wso2esb-4.5.1.zip) under the 'files' file store. For example if /etc/puppet/fileserver.conf has:

[files]
path /var/lib/puppet/files

the put the zip files in /var/lib/puppet/files.

Notes

Currently:

  • Only the ESB and Identity Server have been tested

  • Some of the changes are specific to my setup and may not be application to yours

  • Only MySQL database support is present but I plan to add Postgres and Oracle support

Support

License: Apache License, Version 2.0

GitHub URL: https://github.com/erwbgy/puppet-wso2