Puppet Class: hbase::zookeeper::service
- Defined in:
- manifests/zookeeper/service.pp
Overview
Class hbase::zookeeper::config
Starts and setups internal HBase zookeeper service (deprecated, always use external).
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/zookeeper/service.pp', line 5
class hbase::zookeeper::service {
# using the provider to workaround the problem with service status detection
# by Cloudera startup scripts
if $hbase::service_provider {
service { $hbase::daemons['zookeeper']:
ensure => running,
enable => true,
provider => $hbase::service_provider,
}
} else {
service { $hbase::daemons['zookeeper']:
ensure => running,
enable => true,
}
}
}
|