Puppet Class: filebeats::package

Defined in:
manifests/package.pp

Overview

Basic setup of filebeats repository and installtion More details see: www.elastic.co/guide/en/beats/libbeat/current/setup-repositories.html



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/package.pp', line 3

class filebeats::package {
  case $::osfamily {
    'Debian': {
      package {'filebeat':
        ensure  => present,
        require => Class['::elastic_stack::repo']
      }
      Class['apt::update'] -> Package['filebeat']
    }
    default: {
      fail('Could not configure apt resource for elasticsearch filebeats')
    }
  }

}