Puppet Class: packetbeat::protocols::pgsql

Defined in:
manifests/protocols/pgsql.pp

Overview

Parameters:

  • protocol (Any) (defaults to: 'pgsql')
  • ports (Any) (defaults to: ['5432'])
  • 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/pgsql.pp', line 1

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