selajnux
Table of Contents
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