Puppet Class: hbase::restserver::config

Defined in:
manifests/restserver/config.pp

Overview

Class hbase::restserver::config

Configuration for HBase REST server.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/restserver/config.pp', line 5

class hbase::restserver::config {
  contain hbase::common::config
  contain hbase::common::daemons::config

  if $hbase::features["restarts"] {
    $cron_ensure = 'present'
  } else {
    $cron_ensure = 'absent'
  }
  file { '/etc/cron.d/hbase-restserver-restarts':
    ensure  => $cron_ensure,
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    alias   => 'hbase-restserver-cron',
    content => template('hbase/cron-restserver-restart.erb'),
  }
}