HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/rhc.cpython-36.opt-1.pyc
3

ܓ�i:	�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�SoSPredicatec@s,eZdZdZdZdZd	Zdd�Zdd�ZdS)
�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�rhccCsN|jddg�|jd�r&|jdg�n|jdg�|jdt|dgd�d	�dS)
Nz
/etc/rhc/*z/var/log/rhc-worker-playbookZall_logsz/var/log/rhc/rhc.log*z/var/log/rhc/rhc.logz
rhc statusZrhsm)Zservices)Zpred)Z
add_copy_specZ
get_optionZadd_cmd_outputr)�self�r�/usr/lib/python3.6/rhc.py�setups

z	Rhc.setupcCs(|jddd�d}d}|j||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)r)	�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZpackagesr
rrrrr	rsrN)Zsos.report.pluginsrrrrrrrr	�<module>s