HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/openstack_horizon.cpython-36.opt-1.pyc
3

\��h}
�@sbddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�dee�ZGdd	�d	ee�Zd
S)�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd	�Zd
S)�OpenStackHorizonzOpenStack HorizonZopenstack_horizon�	openstack�openstack_controllerz%/var/lib/config-data/puppet-generatedcCsf|jd�r|jdg�n|jdg�|jd|jd|jd|jd|jd|jd	g�|jd
�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_genZadd_forbidden_path)�self�r�'/usr/lib/python3.6/openstack_horizon.py�setups

zOpenStackHorizon.setupcCsX|jd}dddg}ddj|��d�}x,dD]$}|j||d�|j|||d�q,WdS)
Nz/horizonZEMAIL_HOST_PASSWORDZPASSWORDZ
SECRET_KEYz	(^\s*\'?(�|z)\'?\s*(:|=)\s*)(.*)�!/etc/openstack-dashboard/.*\.json�(/etc/openstack-dashboard/local_settings$�+/etc/openstack-dashboard/local_settings.py$z\1*********)rrr)r�joinZdo_path_regex_sub)r
rZprotect_keysZregexpZregpathrrr�postproc/s

zOpenStackHorizon.postprocN)rr)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrrrrrrrrsrcs eZdZdZ�fdd�Z�ZS)�
DebianHorizon�python-django-horizon�openstack-dashboard�openstack-dashboard-apachecst�j�|jd�dS)Nz/etc/apache2/sites-available/)�superrr)r
)�	__class__rrrHs
zDebianHorizon.setup)rrr)rrr�packagesr�
__classcell__rr)rrr@srcs eZdZdZ�fdd�Z�ZS)�
UbuntuHorizon�python-django-horizon�python3-django-horizon�openstack-dashboard� openstack-dashboard-ubuntu-themecst�j�|jd�dS)Nz,/etc/apache2/conf.d/openstack-dashboard.conf)rrr)r
)rrrrVs
zUbuntuHorizon.setup)r#r$r%r&)rrrr rr!rr)rrr"Ms
r"cs eZdZdZ�fdd�Z�ZS)�
RedHatHorizon�openstack-selinuxcs:t�j�|jd�|jd�r*|jd�n|jdg�dS)Nz*/etc/httpd/conf.d/openstack-dashboard.confr	z/var/log/httpd/horizon*z*/var/log/httpd/horizon*.log/var/log/httpd/)rrrr
)r
)rrrr_s


zRedHatHorizon.setup)r()rrrr rr!rr)rrr'[sr'N)	Zsos.report.pluginsrrrrrrr"r'rrrr�<module>s/