Defined Type: neo4j::initial_host

Defined in:
manifests/initial_host.pp

Overview

Define: user

An initial_host of the Neo4j ha cluster.

**Note: This is an internal class and should not be called directly.

Parameters

Authors

Amos Wood <amosjwood@gmail.com>

Copyright 2014 Amos Wood, unless otherwise noted.

Parameters:

  • ip (Any)
  • ha_cluster_name (Any)
  • ha_cluster_port (Any) (defaults to: 5001)


17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/initial_host.pp', line 17

define neo4j::initial_host (
  $ip,
  $ha_cluster_name,
  $ha_cluster_port = 5001,
) {
  $fragment_file = $::neo4j::properties_file

  concat::fragment{ "${title} fragment ":
    target  => $fragment_file,
    content => "${ip}:${ha_cluster_port},",
    order   => 10,
  }
}