diff --git a/pyinfra/facts/selinux.py b/pyinfra/facts/selinux.py index b4a678919..e45c6ed5f 100644 --- a/pyinfra/facts/selinux.py +++ b/pyinfra/facts/selinux.py @@ -6,6 +6,7 @@ class FileContext(FactBase): Returns structured SELinux file context data for a specified file. .. code:: python + { 'user': 'system_u', 'role': 'object_r', @@ -30,9 +31,6 @@ def process(self, output): class SEBoolean(FactBase): ''' Returns the on/off status of a SELinux Boolean. - - .. code:: python - host.get_fact(SEBoolean, "httpd_can_network_connect") -> "off" ''' requires_command = 'getsebool'