Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/cman.cpython-36.opt-1.pyc

3

�f �@s2ddlmZddlmZmZGdd�dee�ZdS)�)�glob)�Plugin�RedHatPluginc@s0eZdZdZdZdZd
ZdZdd�Zd	d
�Z	dS)�Cmanz,cman based Red Hat Cluster High Availability�cman�cluster�luci�
clusterlib�/etc/cluster/cluster.confcCs>|jddddddddd	g	�|jd
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�/usr/lib/python3.6/cman.py�setups*z
Cman.setupcCs2xtd�D]}|j|dd�q
W|jddd�dS)Nz/etc/cluster/cluster.conf*z.(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")z\1"***"z/var/lib/luci/etc/.*\.iniz(.*secret\s*=\s*)\S+z\1******)rZdo_file_subZdo_path_regex_sub)rZcluster_confrrr
�postproc3s
z
Cman.postprocN)r)rrr	)r
)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackages�filesrrrrrr
r
srN)rZsos.report.pluginsrrrrrrr
�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists