Path: | lib/facter/selinux.rb |
Last Update: | Sat Feb 23 07:17:42 +0000 2019 |
Fact: selinux
Purpose:
Determine whether SE Linux is enabled on the node.
Resolution:
Checks for the existence of the enforce file under the SE Linux mount point (e.g. `/selinux/enforce`) and returns true if `/proc/self/attr/current` does not contain the kernel.
Caveats: