Your IP : 216.73.217.13


Current Path : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/cman.cpython-38.pyc

U

���b8�@s2ddlmZmZddlmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin)�globc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�Cmanz,cman based Red Hat Cluster High Availability�cman)Zcluster)ZlucirZ
clusterlib)z/etc/cluster/cluster.confcCs>|�ddddddddd	g	�|�d
ddd
ddddddg
�dS)Nz/etc/cluster.confz/etc/clusterz/etc/sysconfig/clusterz/etc/sysconfig/cmanz/var/log/clusterz/etc/fence_virt.confz/var/lib/luci/data/luci.dbz/var/lib/luci/etcz
/var/log/lucizcman_tool serviceszcman_tool nodeszcman_tool statuszccs_tool lsnodez
mkqdisk -Lzgroup_tool dumpzfence_tool dumpzfence_tool ls -nZclustatz&rg_test test /etc/cluster/cluster.conf)Z
add_copy_specZadd_cmd_output)�self�r�9/usr/lib/python3/dist-packages/sos/report/plugins/cman.py�setups.��z
Cman.setupcCs2td�D]}|�|ddd�q|�ddd�dS)Nz/etc/cluster/cluster.conf*z.(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")z\1%sz"***"z/var/lib/luci/etc/.*\.iniz(.*secret\s*=\s*)\S+z\1******)rZdo_file_subZdo_path_regex_sub)rZcluster_confrrr	�postproc3s��z
Cman.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackages�filesr
rrrrr	r
srN)Zsos.report.pluginsrrrrrrrr	�<module>	s