Current File : //usr/lib/python2.7/site-packages/sos/plugins/insights.pyc
�
u��ec@s3ddlmZmZdeefd��YZdS(i����(tPlugintRedHatPlugintRedHatInsightscBs>eZdZdZddgZd
ZdZd�Zd	�ZRS(s0Collect config and log for Red Hat Insights
    tinsightssredhat-access-insightssinsights-clienttsystemtsysmgmts)/etc/insights-client/insights-client.confs7/etc/redhat-access-insights/redhat-access-insights.confcCsp|j|j�|jd�|jd�r<|jd�n
|jd�|jdd�}|jd|�dS(Ns%/var/log/redhat-access-insights/*.logtall_logss/var/log/insights-client/*.log*s,/var/log/insights-client/insights-client.logtnamesinsights-client-dumps)insights-client --offline --output-dir %s(t
add_copy_spectconfigt
get_optiontget_cmd_output_pathtadd_cmd_output(tselftpath((s8/usr/lib/python2.7/site-packages/sos/plugins/insights.pytsetups

cCs>x7|jD],}|j|dd�|j|dd�q
WdS(Ns(password[\t\ ]*=[\t\ ]*)(.+)s
\1********s(proxy[\t\ ]*=.*)(:)(.*)(@.*)s\1\2********\4(R	tdo_file_sub(R
tconf((s8/usr/lib/python2.7/site-packages/sos/plugins/insights.pytpostproc&s

(ssystemR(s)/etc/insights-client/insights-client.confs7/etc/redhat-access-insights/redhat-access-insights.conf(	t__name__t
__module__t__doc__tplugin_nametpackagestprofilesR	RR(((s8/usr/lib/python2.7/site-packages/sos/plugins/insights.pyRs	N(tsos.pluginsRRR(((s8/usr/lib/python2.7/site-packages/sos/plugins/insights.pyt<module>	s