- Overview
- Module Description - What the module does and why it is useful
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Defined Types
- Development - Guide for contributing to the module
- Authors
This class manages SELinux on RHEL based systems.
This module will configure SELinux and/or deploy SELinux based modules to running system.
Requires puppetlabs/stdlib [https://github.com/puppetlabs/puppetlabs-stdlib]
Parameters:
$mode
(enforced|permissive|disabled) - sets the operating state for SELinux.
Basic usage:
include selinux
More advanced usage:
class { selinux:
mode => 'enforcing'
}
Deploy a custom module:
selinux::module { 'resnet-puppet':
ensure => 'present',
source => 'puppet:///modules/site_puppet/site-puppet.te',
}
fcontext
- Define fcontext types and equals valuesboolean
- Set seboolean valuesport
- Set selinux port context policies
James Fryman [email protected]