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__/redis.cpython-36.opt-1.pyc

3

�fQ�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s0eZdZdZdZd
ZdZdZdd�Zdd�Z	d	S)�Redisz%Redis, in-memory data structure store�redis�servicesz+/var/lib/config-data/puppet-generated/rediscCsV|jd|jd|jd|jdg�|jd�|jd�rF|jdg�n|jdg�dS)	Nz/etc/redis.confz/etc/redis*z/etc/redis/z/etc/security/limits.d/zredis-cli infoZall_logsz/var/log/redis/redis.log*z/var/log/redis/redis.log)Z
add_copy_spec�var_puppet_genZadd_cmd_outputZ
get_option)�self�r	�/usr/lib/python3.6/redis.py�setups


zRedis.setupcCs.x(d|jdgD]}|j|ddd�qWdS)Nz/etc/z
redis.confz(masterauth|requirepass)\s.*z\1 ********)rZdo_file_sub)r�pathr	r	r
�postproc,s
zRedis.postprocN)r)r)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrr
r	r	r	r
rsrN)Zsos.report.pluginsrrrr	r	r	r
�<module>s

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