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__/openstack_trove.cpython-36.pyc

3

�f��@sRddlmZmZmZmZGdd�de�ZGdd�deee�ZGdd�dee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s4eZdZdZdZd
ZdZdd�Zdd	�Zd
d�Z	dS)�OpenStackTrovezOpenStack TroveZopenstack_trove�	openstack�openstack_controllerz+/var/lib/config-data/puppet-generated/trovecCs<|jd�r|jdg�n|jdg�|jd|jdg�dS)NZall_logsz/var/log/trove/z/var/log/trove/*.logz/etc/trove/)Z
get_optionZ
add_copy_spec�var_puppet_gen)�self�r�%/usr/lib/python3.6/openstack_trove.py�setups

zOpenStackTrove.setupcCs&|jd||�|j|jd||�dS)z Apply regex substitution z/etc/trove/*N)Zdo_path_regex_subr	)r
ZregexpZsubstrrr�apply_regex_sub&szOpenStackTrove.apply_regex_subcCsJddddddddg}d	g}|jd
dj|�d�|jd
dj|�d�dS)NZdefault_password_lengthZnotifier_queue_passwordZrabbit_passwordZreplication_passwordZadmin_passwordZdns_passkeyZ
transport_urlZmemcache_secret_keyZ
connectionz(^\s*(%s)\s*=\s*)(.*)�|z\1*********z)(^\s*(%s)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z
\1*********\6)r�join)r
Zprotect_keysZconnection_keysrrr�postproc.s

zOpenStackTrove.postprocN)rr)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr	r
rrrrrrrsrc@seZdZdZdS)�DebianTrove�python-trove�trove-common�	trove-api�trove-taskmanager�
python3-troveN)rrrrr)rrr�packagesrrrrrAs
rc@seZdZdZdS)�RedHatTrove�openstack-selinuxN)r)rrrrrrrrrLsrN)Zsos.report.pluginsrrrrrrrrrrr�<module>s2

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