Skip to content

Commit

Permalink
Fix docstrings in selinux facts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Jan 23, 2022
1 parent ff0913d commit 2fec4e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyinfra/facts/selinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'

Expand Down

0 comments on commit 2fec4e3

Please sign in to comment.