Skip to content

mlandewers/puppet-selinux

 
 

Repository files navigation

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 [email protected]

About

Puppet Module to manage SELinux on RHEL machines

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 63.0%
  • Ruby 37.0%