�
i��d� � �, � d dl mZmZ G d� dee� Zy)� )�Plugin�RedHatPluginc �( � e Zd ZdZdZdZdZd� Zd� Zy)�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 �L � | j dg� | j dg� y )Nz
/etc/rhc/*z
rhc status)�
add_copy_spec�add_cmd_output��selfs �8/usr/lib/python3/dist-packages/sos/report/plugins/rhc.py�setupz Rhc.setup s0 � �����
� �
����
� � c �* � | j ddd� y )Nz&/etc/rhc/workers/foreman_rh_cloud.tomlz%(FORWARDER_PASSWORD\s*=\s*)(.+)(\"\,)z\1********\3)�do_path_regex_subr s r
�postproczRhc.postproc$ s � �
���G�G�.� 0r N) �__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�packagesr r � r r
r r s# � �� F�J��K��H��0r r N)�sos.report.pluginsr r r r r r
�<module>r s �� 4�"0�&�,� "0r |