Defined Type: wildfly::jgroups::stack::tcpgossip

Defined in:
manifests/jgroups/stack/tcpgossip.pp

Overview

Configures a tcpgossip stack.

Parameters:

  • initial_hosts (String)
  • num_initial_members (Integer)
  • timeout (Integer) (defaults to: 3000)


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/jgroups/stack/tcpgossip.pp', line 4

define wildfly::jgroups::stack::tcpgossip(
  String $initial_hosts,
  Integer $num_initial_members,
  Integer $timeout = 3000,
  ) {

  $properties = {
    'properties' =>  {
      'initial_hosts'       => $initial_hosts,
      'timeout'             => $timeout,
      'num_initial_members' => $num_initial_members,
    }
  }

  wildfly::jgroups::stack::tcp { 'TCPGOSSIP':
    properties => $properties
  }

}