Puppet Class: rsyslog::server::selinux

Defined in:
manifests/server/selinux.pp

Summary

Sets up SELinux for RSyslog

Overview

Switches on the “nis_enabled“ SELinux Boolean since this is required for successful RSyslog connections.

Note:

This MAY not be necessary any longer and should be validated



9
10
11
12
13
14
15
16
17
18
# File 'manifests/server/selinux.pp', line 9

class rsyslog::server::selinux {
  assert_private()

  if $facts['os']['selinux']['current_mode'] and $facts['os']['selinux']['current_mode'] != 'disabled' {
    selboolean { 'nis_enabled':
      persistent => true,
      value      => 'on'
    }
  }
}