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