Puppet Class: nxlog

Inherits:
::nxlog::params
Defined in:
manifests/init.pp

Overview

Class: nxlog

This module manages nxlog. See README.md for more details.

Parameters:

  • conf_dir (Any) (defaults to: $::nxlog::params::conf_dir)
  • conf_file (Any) (defaults to: $::nxlog::params::conf_file)
  • ensure_setting (Any) (defaults to: $::nxlog::params::ensure_setting)
  • ext_module (Any) (defaults to: $::nxlog::params::ext_module)
  • ext_options (Any) (defaults to: $::nxlog::params::ext_options)
  • input_execs (Any) (defaults to: $::nxlog::params::input_execs)
  • input_file_path (Any) (defaults to: $::nxlog::params::input_file_path)
  • input_module (Any) (defaults to: $::nxlog::params::input_module)
  • input_type (Any) (defaults to: $::nxlog::params::input_type)
  • nxlog_root (Any) (defaults to: $::nxlog::params::nxlog_root)
  • order_extension (Any) (defaults to: $::nxlog::params::order_extension)
  • order_header (Any) (defaults to: $::nxlog::params::order_header)
  • order_input (Any) (defaults to: $::nxlog::params::order_input)
  • order_output (Any) (defaults to: $::nxlog::params::order_output)
  • order_route (Any) (defaults to: $::nxlog::params::order_route)
  • output_address (Any) (defaults to: $::nxlog::params::output_address)
  • output_execs (Any) (defaults to: $::nxlog::params::output_execs)
  • output_file_path (Any) (defaults to: $::nxlog::params::output_file_path)
  • output_module (Any) (defaults to: $::nxlog::params::output_module)
  • output_options (Any) (defaults to: $::nxlog::params::output_options)
  • output_port (Any) (defaults to: $::nxlog::params::output_port)
  • package_name (Any) (defaults to: $::nxlog::params::package_name)
  • processor_module (Any) (defaults to: $::nxlog::params::processor_module)
  • processor_input_format (Any) (defaults to: $::nxlog::params::processor_input_format)
  • processor_output_format (Any) (defaults to: $::nxlog::params::processor_output_format)
  • processor_csv_output_fields (Any) (defaults to: $::nxlog::params::processor_csv_output_fields)
  • route_destination (Any) (defaults to: $::nxlog::params::route_destination)
  • route_source (Any) (defaults to: $::nxlog::params::route_source)


5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'manifests/init.pp', line 5

class nxlog (
  $conf_dir                    = $::nxlog::params::conf_dir,
  $conf_file                   = $::nxlog::params::conf_file,
  $ensure_setting              = $::nxlog::params::ensure_setting,
  $ext_module                  = $::nxlog::params::ext_module,
  $ext_options                 = $::nxlog::params::ext_options,
  $input_execs                 = $::nxlog::params::input_execs,
  $input_file_path             = $::nxlog::params::input_file_path,
  $input_module                = $::nxlog::params::input_module,
  $input_type                  = $::nxlog::params::input_type,
  $nxlog_root                  = $::nxlog::params::nxlog_root,
  $order_extension             = $::nxlog::params::order_extension,
  $order_header                = $::nxlog::params::order_header,
  $order_input                 = $::nxlog::params::order_input,
  $order_output                = $::nxlog::params::order_output,
  $order_route                 = $::nxlog::params::order_route,
  $output_address              = $::nxlog::params::output_address,
  $output_execs                = $::nxlog::params::output_execs,
  $output_file_path            = $::nxlog::params::output_file_path,
  $output_module               = $::nxlog::params::output_module,
  $output_options              = $::nxlog::params::output_options,
  $output_port                 = $::nxlog::params::output_port,
  $package_name                = $::nxlog::params::package_name,
  $processor_module            = $::nxlog::params::processor_module,
  $processor_input_format      = $::nxlog::params::processor_input_format,
  $processor_output_format     = $::nxlog::params::processor_output_format,
  $processor_csv_output_fields = $::nxlog::params::processor_csv_output_fields,
  $route_destination           = $::nxlog::params::route_destination,
  $route_source                = $::nxlog::params::route_source,
) inherits ::nxlog::params {
  if ($nxlog_root) {
    validate_absolute_path($nxlog_root)
  }
  validate_absolute_path($conf_dir)
  validate_string($conf_file)

  anchor { '::nxlog::start':
  } ->
  class { '::nxlog::install':
  } ->
  class { '::nxlog::config':
  } ->
  class { '::nxlog::service':
  } ->
  anchor { '::nxlog::end':
  }
}