Puppet Class: cassandra::reaper
- Defined in:
- manifests/reaper.pp
Summary
Manage a cassandra-reaper instanceOverview
This class is installing and managing an instance of cassandra-repear.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'manifests/reaper.pp', line 29
class cassandra::reaper (
# install params
String $package_ensure = 'latest',
# config params
Optional[String] $template = undef,
Hash $settings = {},
Stdlib::Absolutepath $configdir = '/etc/cassandra-reaper',
Stdlib::Absolutepath $templatedir = "${configdir}/configs",
# service params
Cassandra::Service::Ensure $service_ensure = 'running',
Cassandra::Service::Enable $service_enable = true,
) {
contain cassandra::reaper::install
contain cassandra::reaper::config
contain cassandra::reaper::service
Class['cassandra::reaper::install']
-> Class['cassandra::reaper::config']
~> Class['cassandra::reaper::service']
}
|