Файловый менеджер - Редактировать - /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/rhc.cpython-310.pyc
Ðазад
o G%@iT � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin�SoSPredicatec @ s, e Zd ZdZdZdZdZdd� 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)r c C s* | � ddg� | jdt| dgd�d� d S )Nz /etc/rhc/*z/var/log/rhc-worker-playbookz rhc status�rhsm)�services)�pred)� add_copy_spec�add_cmd_outputr )�self� r �8/usr/lib/python3/dist-packages/sos/report/plugins/rhc.py�setup s � �z Rhc.setupc C s( | � ddd� d}d}| � ||d� d S )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&