HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/openstack_swift.cpython-310.pyc
o

([Qh��@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
=