Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/aap_gateway.cpython-312.pyc |
�
-�_g� � �, � d dl mZmZ G d� dee� Zy)� )�Plugin�RedHatPluginc �0 � e Zd ZdZdZdZdZdZdZd� Z d� Z
y )
�AAPGatewayPluginzAAP Gateway plugin�aap_gateway)�sysmgmt�ansible)�automation-gatewayzautomation-gateway-config)zaap-gateway-manage)r
c � � | j g d�� | j g d�� | j d� | j dd�� y )N)z/var/log/supervisorz /etc/ansible-automation-platformz/etc/supervisord.d/z-/var/log/ansible-automation-platform/gateway/)z3/etc/ansible-automation-platform/gateway/SECRET_KEYz./etc/ansible-automation-platform/gateway/*.keyz//etc/ansible-automation-platform/gateway/*.certz aap-gateway-manage list_servicesz!/etc/ansible-automation-platform/T)� recursive)�
add_copy_spec�add_forbidden_path�add_cmd_output�add_dir_listing)�selfs �@/usr/lib/python3/dist-packages/sos/report/plugins/aap_gateway.py�setupzAAPGatewayPlugin.setup sT � ����
� �
��� !
� �
���>�?����@�'+� � -� c �2 � d}d}| j d||� y )Nz&(DATABASE_PASSWORD)(\s*)(=|:)(\s*)(.*)z\1\2\3\4********z4/etc/ansible-automation-platform/gateway/settings.py)�do_path_regex_sub)r �jreg�repls r �postproczAAPGatewayPlugin.postproc* s# � �8��"�����B��� r N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�commands�servicesr r � r r r r s, � �%�J��K�&�H�-�H�&�H�&�H�-�$r r N)�sos.report.pluginsr r r r# r r �<module>r% s �� 4�#�v�|� #r