Puppet Class: rsyslog::server::selinux
- Defined in:
- manifests/server/selinux.pp
Overview
NOTE: THIS IS A PRIVATE CLASS
Sets up SELinux for RSyslog
Switches on the nis_enabled
SELinux Boolean since this is
required for successful RSyslog connections.
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/server/selinux.pp', line 10
class rsyslog::server::selinux {
assert_private()
if ($facts['os']['name'] in ['RedHat','CentOS']) and ($facts['os']['release']['major'] > '6') {
if $facts['selinux_current_mode'] and $facts['selinux_current_mode'] != 'disabled' {
selboolean { 'nis_enabled':
persistent => true,
value => 'on'
}
}
}
}
|