selajnux

Handle selinux in Hiera.
salmin

salmin

salmin

5,386 downloads

5,303 latest version

4.6 quality score

Version information

  • 2.0.2 (latest)
  • 2.0.1
  • 2.0.0
released Jul 3rd 2019
This version is compatible with:
  • RedHat
    ,
    CentOS
    ,
    Ubuntu

Start using this module

Documentation

salmin/selajnux — version 2.0.2 Jul 3rd 2019

selajnux

Table of Contents

  1. Overview
  2. Usage
  3. Reference

Overview

Enable selinux booleans with hiera based on audit2allow.

1) tail -2 /var/log/audit/audit.log | audit2allow
2) Look at the output.
3) selajnux::allow:
     - httpd_can_network_relay
     - httpd_can_network_connect

Usage

Puppetfile

  mod 'salmin/selajnux', :latest

Puppetnode;

  include selajnux

Hiera;

  selajnux::allow:
   - httpd_can_network_connect

  selajnux::deny:
   - httpd_can_network_relay

Reference

https://docs.puppet.com/puppet/latest/reference/type.html#selboolean-attributes