Puppet Class: packetbeat::protocols::mysql

Defined in:
manifests/protocols/mysql.pp

Overview

Parameters:

  • protocol (Any) (defaults to: 'mysql')
  • ports (Any) (defaults to: ['3306'])
  • max_rows (Any) (defaults to: undef)
  • max_row_length (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/protocols/mysql.pp', line 1

class packetbeat::protocols::mysql (
  $protocol       = 'mysql',
  $ports          = ['3306'],
  $max_rows       = undef,
  $max_row_length = undef
) {
  concat::fragment {'protocols-mysql':
    target  => '/etc/packetbeat/packetbeat.yml',
    content => template('packetbeat/protocols/protocols.database.erb'),
    order   => 12,
  }
}