HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/rhc.cpython-39.opt-1.pyc
a

\��h�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�Rhcz�
    RHC is a client tool and daemon that connects the system
    to Red Hat hosted services enabling system and
    subscription management. This plugin captures
    configuration files and the output of 'rhc status'.
    z2Red Hat client for remote host configured services�rhc)rcCs|�ddg�|�dg�dS)Nz
/etc/rhc/*z/var/log/rhc-worker-playbookz
rhc status)Z
add_copy_specZadd_cmd_output)�self�r�:/usr/lib/python3.9/site-packages/sos/report/plugins/rhc.py�setups��z	Rhc.setupcCs(|�ddd�d}d}|�||d�dS)Nz&/etc/rhc/workers/foreman_rh_cloud.tomlz%(FORWARDER_PASSWORD\s*=\s*)(.+)(\"\,)z\1********\3z&/var/log/rhc-worker-playbook/ansible/*z9(\s*\"ansible_ssh_host_key_)(.+)(_public\":\s*)(.+)(\,|$)z\1\2\3********\5)Zdo_path_regex_sub)r�pathZregexprrr�postproc%s
�
�zRhc.postprocN)	�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZpackagesr	rrrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>s