Puppet Class: hbase::config
- Defined in:
- manifests/config.pp
Overview
Class hbase::config
This class is called from hbase.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/config.pp', line 5
class hbase::config {
include ::stdlib
contain hbase::common::config
if $hbase::master_hostname == $::fqdn or member($hbase::backup_hostnames, $::fqdn) {
contain hbase::master::config
}
if member($hbase::slaves, $::fqdn) { contain hbase::regionserver::config }
if member($hbase::zookeeper_hostnames, $::fqdn) { contain hbase::zookeeper::config }
if member($hbase::frontends, $::fqdn) { contain hbase::frontend::config }
# setup on HDFS (directory layout)
if $hbase::hdfs_hostname == $::fqdn {
contain hbase::hdfs
}
}
|