Current File : //usr/lib/python2.7/site-packages/sos/plugins/pulpcore.pyo
�
u��ec@sSddlmZmZddlmZddlmZdeefd��YZdS(i����(tPlugintIndependentPlugin(tquote(tmatchtPulpCorecBsDeZdZdZdZdZd
gZd�Zd	�Zd
�Z	RS(sPulp-3 aka pulpcoretpulpcorespulpcore-managers/etc/pulp/settings.pys	task-dayssdays of tasks historytfastic
Cs�t}d|_d|_d|_d|_d|_dd�}y=x6td�j�j�D]}|s[|d	d
kr~q[n|j	d�r�t
}q[n|r�td|�r�||�|_n|r�td
|�r�||�|_n|rtd|�r||�|_n|r)d|kr)t}n|j	d�rP||dd�|_n|j	d�r[||dd�|_q[q[WWntk
r�nXi|jd6|_
dS(Nt	localhosti8ts/var/lib/pulp/assetss/var/lib/pulp/media/uploadt:cSsr|j|�dj�jd�}|jd�r@|jd�s^|jd�rn|jd�rn|dd!}n|S(Nit,t"s'i����(tsplittlstriptrstript
startswithtendswith(tlinetseptval((s8/usr/lib/python2.7/site-packages/sos/plugins/pulpcore.pytseparate_value%s
"s/etc/pulp/settings.pyit#t	DATABASESs\s+'HOST'\s*:\s+\S+s\s+'PORT'\s*:\s+\S+s\s+'PASSWORD'\s*:\s+\S+t}sSTATIC_ROOT = Rt=sCHUNKED_UPLOAD_DIR = t
PGPASSWORD(tFalsetdbhosttdbporttdbpasswdt
staticroott	uploaddirtopentreadt
splitlinesRtTrueRtIOErrortenv(tselftdatabases_scopeRR((s8/usr/lib/python2.7/site-packages/sos/plugins/pulpcore.pytparse_settings_configs:							 
cCs'|j�|jd�|jddidd6dd�|jddd	�idd6dd
6dd6}|jd
d|�x+|j|jgD]}|jd|�q�W|jd�}xkddddddgD]Q}d||f}d|j|jt|�f}|j|d|j	d|�q�WdS(Ns/etc/pulp/settings.pys#rq info -u redis://localhost:6379/8R%sen_US.UTF-8tLC_ALLtsuggest_filenametrq_infos.curl -ks https://localhost/pulp/api/v3/status/tpulp_statust
PULP_SETTINGSspulpcore.app.settingstDJANGO_SETTINGS_MODULEs
dynaconf listsls -l %ss	task-dayst	core_tasktcore_taskgrouptcore_reservedresourcerecordtcore_taskreservedresourcerecordtcore_groupprogressreporttcore_progressreports`select * from %s where pulp_last_updated > NOW() - interval '%s days' order by pulp_last_updateds*psql -h %s -p %s -U pulp -d pulpcore -c %s(
R(t
add_copy_spectadd_cmd_outputRRt
get_optionRRRR%(R&tdynaconf_envt_dirt	task_daysttablet_queryt_cmd((s8/usr/lib/python2.7/site-packages/sos/plugins/pulpcore.pytsetupMs.




	
cCsP|jddd�|jddd�|jddd�|jddd�dS(Ns/etc/pulp/settings.pys(SECRET_KEY\s*=\s*)(.*)s
\1********s(PASSWORD\S*\s*:\s*)(.*)s
dynaconf lists(SECRET_KEY<str>\s*)'(.*)'(tdo_path_regex_subtdo_cmd_output_sub(R&((s8/usr/lib/python2.7/site-packages/sos/plugins/pulpcore.pytpostprocjs (spulpcore-manager(s/etc/pulp/settings.py(s	task-dayssdays of tasks historyRi(
t__name__t
__module__t
short_desctplugin_nametcommandstfilestoption_listR(R>RA(((s8/usr/lib/python2.7/site-packages/sos/plugins/pulpcore.pyRs		2	N(tsos.pluginsRRtpipesRtreRR(((s8/usr/lib/python2.7/site-packages/sos/plugins/pulpcore.pyt<module>s