관리-도구
편집 파일: openstack_barbican.cpython-39.pyc
a ����-�_g����������������������@���s,���d�dl�mZmZmZ�G�dd��deee�ZdS�)�����)�Plugin�DebianPlugin�UbuntuPluginc�������������������@���s0���e�Zd�ZdZdZdZdZdZdd��Zdd ��Z d S�)�OpenStackBarbicanz)OpenStack Barbican Secure storage serviceZopenstack_barbican)Z openstackZopenstack_controller)zbarbican-commonzbarbican-keystone-listenerzbarbican-workerFc�����������������C���sB���|���d��|��d�r |���d��n |���d��|��d��|��d��d�S�)Nz/etc/barbican/Zall_logsz/var/log/barbican/*z/var/log/barbican/*.logz/etc/barbican/*.pemz/etc/barbican/alias/*)Z add_copy_specZ get_optionZadd_forbidden_path)�self��r����I/usr/lib/python3.9/site-packages/sos/report/plugins/openstack_barbican.py�setup���s���� zOpenStackBarbican.setupc�����������������C���sP���g�d�}|���ddd�|���d�d��ddg}d�|�}|��dd|��d �d ��d�S�)N)�passwordZrabbit_passwordZmemcache_secret_keyz/etc/barbican/barbican.confz(^\s*(�|z )\s*=\s*)(.*)z \1********Z transport_urlZsql_connectionz!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z \1*********\6)Zdo_file_sub�joinZdo_path_regex_sub)r���Zprotect_keysZconnection_keysZ join_con_keysr���r���r����postproc'���s����� �zOpenStackBarbican.postprocN) �__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackagesZ requires_rootr ���r ���r���r���r���r���r������s���r���N)Zsos.report.pluginsr���r���r���r���r���r���r���r����<module>���s���