Puppet Class: logstash::service
- Defined in:
- manifests/service.pp
Overview
Class: logstash::service
This class exists to coordinate all service management related actions, functionality and logical units in a central place.
Note: “service” is the Puppet term and type for background processes in general and is used in a platform-independent way. E.g. “service” means “daemon” in relation to Unix-like systems.
Parameters
This class does not provide any parameters.
Examples
This class may be imported by other classes to use its functionality:
class { 'logstash::service': }
It is not intended to be used directly by external resources like node definitions or other modules.
Authors
-
Richard Pijnenburg <richard.pijnenburg@elasticsearch.com>
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'manifests/service.pp', line 29
class logstash::service {
case $logstash::service_provider {
'init': {
logstash::service::init { $logstash::params::service_name: }
}
default: {
fail("Unknown service provider ${logstash::service_provider}")
}
}
}
|