Forge Home

selinux

This class manages SELinux on RHEL based systems

20,347,584 downloads

137,350 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 999.999.999 (latest)
  • 0.4.0
  • 0.3.1
  • 0.3.0
  • 0.2.6
  • 0.2.5
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
released Aug 5th 2015
This version is compatible with:
  • ,
This module has been deprecated by its author since Oct 27th 2017.

The author has suggested puppet-selinux as its replacement.

Start using this module

Documentation

jfryman/selinux — version 0.2.5 Aug 5th 2015

selinux

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Defined Types
  6. Development - Guide for contributing to the module
  7. Authors

Overview

This class manages SELinux on RHEL based systems.

Module Description

This module will configure SELinux and/or deploy SELinux based modules to running system.

Requires puppetlabs/stdlib [https://github.com/puppetlabs/puppetlabs-stdlib]

Usage

Parameters:

  • $mode (enforced|permissive|disabled) - sets the operating state for SELinux.

Reference

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',
}

Defined Types

  • fcontext - Define fcontext types and equals values
  • boolean - Set seboolean values
  • port - Set selinux port context policies

Development

Authors

James Fryman james@fryman.io