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