Defined Type: cassandra::environment::jvm_option

Defined in:
manifests/environment/jvm_option.pp

Summary

Creates a JVM option for Cassandra.

Overview

Each instance of this type is adding a JVM option to the JVM running the Cassandra. This enables you to set e.g. verbose:gc.

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

Examples:

directly created

cassandra::jvm_option { 'verbose:gc': }

factory generated

cassandra::jvm_options:
  - verbose:gc
  - server


17
18
19
20
21
22
23
# File 'manifests/environment/jvm_option.pp', line 17

define cassandra::environment::jvm_option (
) {
  cassandra::environment::variable{ "cassandra::environment::jvm_option[${name}]":
    id    => 'JVM_EXTRA_OPTS',
    value => "\$JVM_EXTRA_OPTS -${name}",
  }
}