관리-도구
편집 파일: aap_receptor.cpython-39.pyc
a -�_gc � @ s. d dl Z d dlmZmZ G dd� dee�ZdS )� N)�Plugin�RedHatPluginc @ s( e Zd ZdZdZdZdZdZdd� ZdS ) �AAPreceptorPluginzAAP receptor pluginZaap_receptor)ZsysmgmtZansible)�receptorZreceptorctl)r c C s� | � g d�� | �d�r&| � dg� n| � dg� | �ddg� | �g d�� t�d�D ]J}| jd |� d �dd� | jd |� d �dd� | jd |� d�dd� q�qXd S )N)� /etc/receptorz/tmp/receptor/*/statusz/var/lib/receptorZall_logsz/var/log/receptorz/var/log/receptor/*.logz/etc/receptor/tlsz/etc/receptor/*key.pem)r z/var/run/receptorz/var/run/awx-receptorz/var/run/*receptor/*.sockzreceptorctl --socket z statusZreceptorctl_status)Zsuggest_filenamez status --jsonzreceptorctl_status.jsonz work listzreceptorctl_work_list.json)Z add_copy_specZ get_optionZadd_forbidden_pathZadd_dir_listing�globZadd_cmd_output)�self�s� r �C/usr/lib/python3.9/site-packages/sos/report/plugins/aap_receptor.py�setup s0 ������zAAPreceptorPlugin.setupN) �__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackagesZservicesr r r r r r s r )r Zsos.report.pluginsr r r r r r r �<module> s