Puppet Class: simp_rsyslog::local

Defined in:
manifests/local.pp

Overview

NOTE: THIS IS A PRIVATE CLASS

Set up local Rsyslog logging for the security relevant log files

Parameters:

  • order (String) (defaults to: 'HH')

    The shell-glob-based ordering for the rule

    • This is currently set to not interfere with dynamic local rules and to come before the standard 'ZZ' local SIMP default rules with some room to grow.

Author:



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

class simp_rsyslog::local (
  String $order = 'HH'
){
  assert_private()

  rsyslog::rule::local { "${order}_simp_rsyslog_profile_local":
    rule            => $::simp_rsyslog::security_relevant_logs,
    target_log_file => $::simp_rsyslog::local_target,
    stop_processing => true
  }
}