We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff0913d commit 2fec4e3Copy full SHA for 2fec4e3
pyinfra/facts/selinux.py
@@ -6,6 +6,7 @@ class FileContext(FactBase):
6
Returns structured SELinux file context data for a specified file.
7
8
.. code:: python
9
+
10
{
11
'user': 'system_u',
12
'role': 'object_r',
@@ -30,9 +31,6 @@ def process(self, output):
30
31
class SEBoolean(FactBase):
32
'''
33
Returns the on/off status of a SELinux Boolean.
-
34
- .. code:: python
35
- host.get_fact(SEBoolean, "httpd_can_network_connect") -> "off"
36
37
requires_command = 'getsebool'
38
0 commit comments