HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/landscape.cpython-38.pyc
U

i��d�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�	LandscapezUbuntu Landscape clientZ	landscape)Zsysmgmt)�/etc/landscape/client.conf�/etc/landscape/service.conf)zlandscape-clientzlandscape-servercCsR|�ddddddg�|�d�s0|�dd	g�n|�d
dg�|�dd
dg�dS)Nz/etc/default/landscape-clientz/etc/default/landscape-serverrrz/etc/landscape/service.conf.oldz*/var/lib/landscape/landscape-oops/*/OOPS-*Zall_logsz/var/log/landscape/*.logz/var/log/landscape-server/*.logz/var/log/landscapez/var/log/landscape-serverz'gpg --verify /etc/landscape/license.txtz$head -n 5 /etc/landscape/license.txtzlsctl status)Z
add_copy_specZ
get_optionZadd_cmd_output)�self�r�>/usr/lib/python3/dist-packages/sos/report/plugins/landscape.py�setups,�	
���zLandscape.setupcCs8|�ddd�dddddg}|�d	d
d�|�d�dS)
Nrzregistration_password(.*)zregistration_password[********]ZpasswordZstore_passwordzsecret-tokenzoidc-client-secretzoidc-client-idz/etc/landscape/service.conf*z(%s) = (.*)�|z\1 = [********])Zdo_file_subZdo_path_regex_sub�join)r�keysrrr	�postproc0s ���zLandscape.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesZpackagesr
rrrrr	rsrN)Zsos.report.pluginsrrrrrrr	�<module>	s