https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/rhc.cpython-310.pyc
o

-�_g�@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)�
add_copy_spec�add_cmd_output)�self�r	�8/usr/lib/python3/dist-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)�do_path_regex_sub)r�path�regexpr	r	r
�postproc%s
�
�zRhc.postprocN)	�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�packagesrrr	r	r	r
rs
rN)�sos.report.pluginsrrrr	r	r	r
�<module>s


https://t.me/RX1948 - 2025