Puppet Class: cassandra::reaper::config

Defined in:
manifests/reaper/config.pp

Summary

Do not include this class for its own.

Overview

Managing the configuration of a cassandra reaper instance.

This class is included by cassandra::reaper and should not be used otherwise.



7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/reaper/config.pp', line 7

class cassandra::reaper::config {
  $_source = $cassandra::reaper::template ? {
    undef   => undef,
    default => "${cassandra::reaper::templatedir}/${cassandra::reaper::template}.yaml"
  }
  yaml_settings {'cassandra::reaper::config':
    source => $_source,
    target => "${cassandra::reaper::configdir}/cassandra-reaper.yaml",
    values => $cassandra::reaper::settings,
  }
}