Current File : //usr/lib/python2.7/site-packages/sos/plugins/openshift.pyc
�
u��ec@s?ddlmZmZddlZdeefd��YZdS(i����(tPlugintRedHatPluginNt	OpenshiftcBs�eZdZdZdZdddefdddefgZdZd	Zd
eefZ	dZ
ejj
e
d�Zejj
e
d
�ZdZd�Zd�Zd�Zd�ZRS(sOpenshift 2.x node and brokert	openshifttvirttbrokersGathers broker specific filestslowtnodesGathers node specific filestruby193trhs/opt/%s/%s/root/etc/mcollectives/var/lib/openshifts	.settingss.httpd.ds/etc/httpd/conf.dcCstjjd�S(Ns/etc/openshift/broker.conf(tostpathtexists(tself((s9/usr/lib/python2.7/site-packages/sos/plugins/openshift.pyt	is_broker(scCstjjd�S(Ns/etc/openshift/node.conf(R
RR(R
((s9/usr/lib/python2.7/site-packages/sos/plugins/openshift.pytis_node+scCs
|jddddg�|jd�|j�r|jddtjj|jd�d	d
ddg�|jd
ddg�n|j�r|jddddtjj|jd�tjj|jd�tjj|jd�tjj|jd�tjj|jd�tjj|j	d�tjj|j
d�tjj|j
d�tjj|j
d�tjj|j
d�tjj|j
d�tjj|j
d�tjj|j
d �tjj|j
d!�d"d#d$d%d&d'g�|jd(d)d*|jd+|j
g�ndS(,Ns!/etc/openshift-enterprise-releases/var/log/openshifts/etc/openshift/*.confs/etc/openshift/upgradesoo-diagnostics -vs/etc/openshift/quickstarts.jsons/etc/openshift/plugins.d/*.confs
client.cfgs*/var/www/openshift/broker/httpd/httpd.confs-/var/www/openshift/broker/httpd/conf.d/*.confs+/var/www/openshift/console/httpd/httpd.confs./var/www/openshift/console/httpd/conf.d/*.confsoo-accept-broker -vsoo-admin-chk -vsoo-mco pings$/etc/openshift/node-plugins.d/*.confs/etc/openshift/cart.conf.ds/etc/openshift/iptables.*.ruless/etc/openshift/envsopenshift-vhost-logconf.includesopenshift-http-vhost.includesopenshift_restorer.includes
server.cfgs
facts.yamls
district.infos*.confsaliases.txts	nodes.txts	idler.txtssts.txtsroutes.jsonsgeardb.jsons
sniproxy.jsons/var/log/httpd/openshift_logs/var/log/mcollective.logs"/var/log/node-web-proxy/access.logs!/var/log/node-web-proxy/error.logs&/var/log/node-web-proxy/websockets.logs&/var/log/node-web-proxy/supervisor.logsoo-accept-node -vsoo-admin-ctl-gears lists
ls -laZ %ss	ls -la %s(t
add_copy_spectadd_cmd_outputRR
Rtjointmco_config_dirRthttpd_config_dirtnode_settings_dirtnode_proxy_dirt
gear_base_dir(R
((s9/usr/lib/python2.7/site-packages/sos/plugins/openshift.pytsetup.sj





cCs�|jddd�|jddd�|jddd�|jtjj|jd�dd�|jtjj|jd	�dd�d
}|j|ddd�|j|d
dd�|j|ddd�d}|j|dd�dS(Ns/etc/openshift/broker.confs(MONGO_PASSWORD\s*=\s*)(.*)s	\1*******s(SESSION_SECRET\s*=\s*)(.*)s/etc/openshift/console.confs
server.cfgs(.*password\s*=\s*)\S+s
\1********s
client.cfgs/etc/openshift/plugins.d/s openshift-origin-dns-dynect.confs(DYNECT_PASSWORD\s*=\s*)(.*)sopenshift-origin-dns-fog.confs"(FOG_RACKSPACE_API_KEY\s*=\s*)(.*)s"openshift-origin-dns-nsupdate.confs(BIND_KEYVALUE\s*=\s*)(.*)s3/var/www/openshift/(broker|console)/httpd/conf.d/.*s(AuthLDAPBindPassword)\s*(.*)(tdo_file_subR
RRRtdo_path_regex_sub(R
t
plugin_dirt
ldap_paths((s9/usr/lib/python2.7/site-packages/sos/plugins/openshift.pytpostprocos:			


	(RR(t__name__t
__module__t__doc__tplugin_nametprofilestFalsetoption_listtrubytvendorRRR
RRRRRRRRR(((s9/usr/lib/python2.7/site-packages/sos/plugins/openshift.pyRs 			A(tsos.pluginsRRtos.pathR
R(((s9/usr/lib/python2.7/site-packages/sos/plugins/openshift.pyt<module>	s