Skip to content

camptocamp/puppet-selinux

Repository files navigation

SELinux Puppet module

Puppet Forge Build Status

Overview

This module allows to manage SELinux with Puppet.

Types

selinux_fcontext

Manage file context mapping definitions.

selinux_fcontext { '/web(/.*)?':
  seltype => 'httpd_sys_content_t',
}

selinux_permissive

Manage processes type enforcement mode.

selinux_permissive { 'httpd_t':
  ensure => present,
}

selinux_port

Manage network port type definitions.

selinux_port { 'http_port_t/tcp/81':
  ensure => present,
}