Defined Type: cassandra::java::property

Defined in:
manifests/java/property.pp

Summary

Add a Java property to the JVM running Cassandra.

Overview

Each instance of this type adds a property to the JVM running Cassandra.

The config class contains a factory for this type which will create instances for each key of cassandra::java::properties.

Examples:

directly created

cassandra::java::property { 'cassandra.replace_address':
  value => '10.0.0.2'
}

factory generated

cassandra::java:
  properties:
    cassandra.consistent.rangemovement: false
    cassandra.replace_address: 10.0.0.2

Parameters:

  • value (Scalar)

    the value the property is set to



23
24
25
26
27
# File 'manifests/java/property.pp', line 23

define cassandra::java::property (
  Scalar $value,
) {
  cassandra::environment::jvm_option{ "D${name}=${value}": }
}