File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/chrony.cpython-39.pyc
a
\��hZ � @ sR d dl mZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ s$ e Zd ZdZdZdZdZdd� ZdS )�Chronyz(Chrony clock (for Network time protocol)�chrony)�systemZservices)r c C sD | � g d�� | j ddd� | �d�r4| �dg� n| �dg� d S )N)zchronyc activityzchronyc trackingzchronyc sourcestatszchronyc serverstatszchronyc ntpdatazchronyc -n clientszchronyc -N authdatazchronyc -n selectdatazchronyc -n sourcesZchronyc_sources)�tagsZall_logsz/var/log/chrony/*z/var/log/chrony/*.log)Zadd_cmd_outputZ
get_option�
add_copy_spec��self� r
�=/usr/lib/python3.9/site-packages/sos/report/plugins/chrony.py�setup s
��zChrony.setupN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr r
r
r
r r s
r c s e Zd Z� fdd�Z� ZS )�RedHatChronyc s( t � �� | �ddg� | jdd� d S )Nz/etc/chrony.confz/var/lib/chrony/driftZchronyd�Zunits��superr r
Zadd_journalr �� __class__r
r r - s
�zRedHatChrony.setup�r r r r �
__classcell__r
r
r r r , s r c s e Zd Z� fdd�Z� ZS )�DebianChronyc s( t � �� | �g d�� | jdd� d S )N)z/etc/chrony/chrony.confz/etc/chrony/conf.dz/etc/chrony/sources.dz/var/lib/chrony/chrony.driftz/etc/default/chronyr r r r r r
r r 7 s
zDebianChrony.setupr r
r
r r r 6 s r N)Zsos.report.pluginsr r r r r r r r
r
r
r �<module> s