This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:hierarchy: | |
- Nodes/%{fqdn} | |
- Domain/%{domain} | |
- %{environment} | |
- common | |
:backends: | |
- yaml | |
- puppet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For instance Puppet server will not start under RHEL SELinux. Try to start it, then run the following script. Continue this cycle until it starts. It will probably work for different SELinux challenges as well. | |
The script requires: | |
$yum install policycoreutils-python | |
cd /tmp && \ | |
cat /var/log/audit/audit.log | audit2allow -m puppetmaster > puppetmaster.te && \ | |
checkmodule -M -m puppetmaster.te -o puppetmaster.mod && \ | |
semodule_package -m puppetmaster.mod -o puppetmaster.pp && \ | |
semodule -i puppetmaster.pp |