HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/policies/distros/__pycache__/rocky.cpython-310.pyc
o

i��d��@s,ddlmZmZddlZGdd�de�ZdS)�)�RedHatPolicy�
OS_RELEASENcs@eZdZdZdZddgZ		d�fdd�	Zed
d
d��Z�Z	S)�RockyPolicy�Rocky Linuxz$Rocky Enterprise Software Foundation)zDistribution Websitezhttps://rockylinux.org)zVendor Websitezhttps://resf.orgNTcstt|�j||||d�dS)N)�sysroot�init�
probe_runtime�remote_exec)�superr�__init__)�selfrrrr	��	__class__��</usr/lib/python3/dist-packages/sos/policies/distros/rocky.pyrs
�zRockyPolicy.__init__�cCs�|r|j|vStj�t�sdStj�d�sdSttd�� }|D]}|�d�r3d|vr3Wd�dSqWd�dS1s?wYdS)NFz/etc/rocky-release�r�NAMErT)�distro�os�path�existsr�isfile�open�
startswith)�cls�remote�f�linerrr�checks$

��
��zRockyPolicy.check)NNTN)r)
�__name__�
__module__�__qualname__r�vendor�vendor_urlsr�classmethodr�
__classcell__rrr
rrs��r)�sos.policies.distros.redhatrrrrrrrr�<module>s