Puppet Class: hbase::master::config
- Defined in:
- manifests/master/config.pp
Overview
Class hbase::master::config
Configuration for HBase master.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'manifests/master/config.pp', line 5
class hbase::master::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-master-restarts':
ensure => $cron_ensure,
owner => 'root',
group => 'root',
mode => '0644',
alias => 'hbase-master-cron',
content => template('hbase/cron-master-restart.erb'),
}
}
|