https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/openstack_horizon.cpython-310.pyc
o

C��g}
�@sbddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�dee�ZGdd	�d	ee�Zd
S)�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�OpenStackHorizonzOpenStack Horizon�openstack_horizon)�	openstack�openstack_controllerz%/var/lib/config-data/puppet-generatedc	Csf|�d�r|�dg�n|�dg�|�d|jd|jd|jd|jd|jd	g�|�d
�dS)N�all_logsz/var/log/horizon/z/var/log/horizon/*.logz/etc/openstack-dashboard/z!/horizon/etc/openstack-dashboard/z/horizon/etc/httpd/conf/z/horizon/etc/httpd/conf.d/z(/horizon/etc/httpd/conf.modules.d/*.confz"/memcached/etc/sysconfig/memcachedz2/etc/openstack-dashboard/local_settings.d/*.py[co])�
get_option�
add_copy_spec�var_puppet_gen�add_forbidden_path��self�r�F/usr/lib/python3/dist-packages/sos/report/plugins/openstack_horizon.py�setups$
����zOpenStackHorizon.setupcCsR|jd}gd�}dd�|��d�}dD]}|�||d�|�|||d�qdS)Nz/horizon)�EMAIL_HOST_PASSWORD�PASSWORD�
SECRET_KEYz	(^\s*\'?(�|z)\'?\s*(:|=)\s*)(.*))z!/etc/openstack-dashboard/.*\.jsonz(/etc/openstack-dashboard/local_settings$z+/etc/openstack-dashboard/local_settings.py$z\1*********)r
�join�do_path_regex_sub)rr
�protect_keys�regexp�regpathrrr�postproc/s

��zOpenStackHorizon.postprocN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr
rrrrrrrsrc� eZdZdZ�fdd�Z�ZS)�
DebianHorizon)�python-django-horizon�openstack-dashboardzopenstack-dashboard-apachec�t���|�d�dS)Nz/etc/apache2/sites-available/��superrrr��	__class__rrrH�
zDebianHorizon.setup�rrr �packagesr�
__classcell__rrr+rr%@sr%cr$)�
UbuntuHorizon)r&zpython3-django-horizonr'z openstack-dashboard-ubuntu-themecr()Nz,/etc/apache2/conf.d/openstack-dashboard.confr)rr+rrrVr-zUbuntuHorizon.setupr.rrr+rr1Msr1cr$)�
RedHatHorizon)zopenstack-selinuxcs<t���|�d�|�d�r|�d�dS|�dg�dS)Nz*/etc/httpd/conf.d/openstack-dashboard.confr
z/var/log/httpd/horizon*z*/var/log/httpd/horizon*.log/var/log/httpd/)r*rrrrr+rrr_s



�zRedHatHorizon.setupr.rrr+rr2[sr2N)	�sos.report.pluginsrrrrrr%r1r2rrrr�<module>s

/


https://t.me/RX1948 - 2025