Puppet Class: quagga::logging

Defined in:
manifests/logging.pp

Summary

Logging

Overview

Parameters:

  • backend (Variant[ Enum['monitor', 'stdout', 'syslog'], Pattern[/\Afile\s(\/\S+)+\Z/] ])

    The quagga logging backend.

  • filename (Optional[Stdlib::Absolutepath])

    If the backend is set to file, use this file as the output

  • level (Enum['alerts','critical','debugging','emergencies','errors','informational','notifications','warnings'])

    The log level



11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/logging.pp', line 11

class quagga::logging (
  Variant[
    Enum['monitor', 'stdout', 'syslog'],
    Pattern[/\Afile\s(\/\S+)+\Z/]
  ]                              $backend,
  Optional[Stdlib::Absolutepath] $filename,
  Enum['alerts','critical','debugging','emergencies','errors','informational','notifications','warnings']
  $level,
) {
  quagga_logging { $backend:
    filename => $filename,
    level    => $level,
  }
}