%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/foreman_proxy.cpython-312.pyc |
� i��d~ � �d � d dl mZmZmZmZ G d� de� Z G d� dee� Z G d� deee� Zy) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc �( � e Zd ZdZdZdZdZd� Zd� Zy)�ForemanProxyz&Foreman Smart Proxy systems management� foreman_proxy)�sysmgmt)z foreman-proxyc �n � | j ddd�� | j dg� | j ddddj | j � d j | j � d j | j � dj | j � g� | j dd g� y )N�foreman_proxy_log�foreman_proxy_conf)z /var/log/foreman-proxy/proxy.logz/etc/foreman-proxy/settings.ymlz/etc/foreman-proxy/*key.pemz/etc/foreman-proxy/z*/etc/smart_proxy_dynflow_core/settings.ymlz/var/log/foreman-proxy/*log*z2/var/log/{}*/katello-reverse-proxy_access_ssl.log*z1/var/log/{}*/katello-reverse-proxy_error_ssl.log*z2/var/log/{}*/rhsm-pulpcore-https-*_access_ssl.log*z1/var/log/{}*/rhsm-pulpcore-https-*_error_ssl.log*� http_proxy�https_proxy)� add_file_tags�add_forbidden_path� add_copy_spec�format� apachepkg�add_env_var��selfs �B/usr/lib/python3/dist-packages/sos/report/plugins/foreman_proxy.py�setupzForemanProxy.setup s� � ����0C�/C� � � ���)�! � � ���!�8�*�@�G�G���� �?�F�F���� �@�G�G���� �?�F�F���� � � � ���,� �6�7� c �P � | j ddd� | j ddd� y )Nz$/etc/foreman-proxy/(.*)((conf)(.*)?)z5((\:|\s*)(passw|cred|token|secret|key).*(\:\s|=))(.*)z \1********z(/etc/foreman-proxy/(.*)((yaml|yml)(.*)?)z\1"********")�do_path_regex_subr s r �postproczForemanProxy.postproc2 s2 � ����3�D�� � ���7�D�� r N) �__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packagesr r � r r r r s � �9�J�!�K��H�!�H�8�6 r r c � � e Zd ZdZy)�RedHatForemanProxy�httpdN�r r r r r% r r r'