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