%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/juju.cpython-312.pyc

�

i��d�	��,�ddlmZmZGd�dee�Zy)�)�Plugin�UbuntuPluginc�(�eZdZdZdZdZdZd�Zd�Zy)�JujuzJuju orchestration tool�juju)�virt�sysmgmt)�
/var/log/jujuc�J�|jd�D]$}|j|�|j|��&|jd�|j	ddg�|jd�r%|jgd��|j
d�y|jd�y)	Nzjuju*z!/var/lib/juju/agents/*/agent.confzls -alRh /var/log/juju*zls -alRh /var/lib/juju*�all_logs)r
z
/var/lib/jujuz/var/lib/juju/**/.*z/var/lib/juju/kvmz/var/log/juju/*.log)�get_service_names�add_journal�add_service_status�
add_copy_spec�add_cmd_output�
get_option�add_forbidden_path)�self�services  �9/usr/lib/python3/dist-packages/sos/report/plugins/juju.py�setupz
Juju.setups����-�-�g�6�	-�G����W�%��#�#�G�,�	-�
	
���>�?�	
���%�%�
�	�
�?�?�:�&�
��� �
�

�#�#�$7�8�
���4�5�c��d}gd�}ddj|�z}d}|j|||�|j|�y)Nz/var/lib/juju/agents/*)�sharedsecret�apipassword�oldpassword�
statepasswordz(^\s*(%s)\s*:\s*)(.*)�|z\1*********)�join�do_path_regex_sub�do_file_private_sub)r�agents_path�protect_keys�
keys_regex�	sub_regexs     r�postprocz
Juju.postproc8sH��.��
��.�����0F�F�
�"�	����{�J�	�B�� � ��-rN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�filesrr&�rrrrs"��*�J��K�"�H�
�E�6�>.rrN)�sos.report.pluginsrrrr.rr�<module>r0s��4�8.�6�<�8.r

Zerion Mini Shell 1.0