Puppet Class: beats::metricbeat
- Defined in:
-
manifests/metricbeat.pp
Summary
Install and manage metricbeat service and configuration file
Overview
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'manifests/metricbeat.pp', line 16
class beats::metricbeat (
String $version,
String $checksum = 'auto',
String $arch = $architecture,
String $service_ensure = 'running',
Boolean $service_atboot = true,
) {
include beats::config::metricbeat
case $facts['os']['family'] {
'Debian': { include beats::install::debian::metricbeat }
default: { err("Class Beats::metricbeat can't manage the OS family named ${facts['os']['family']}") }
}
}
|