File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/foreman.cpython-312.pyc
�
O6ufL: � � � d dl mZ d dlmZ d dlmZmZmZmZm Z G d� de� Z
G d� de
e� Z G d� d e
ee� Zy
)� )�match)�quote)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin� PluginOptc � � e Zd ZdZdZdZdZdZdZdZ dZ
d diZ ed
dd�
� eddd�
� eddd�
� gZ
dZd� Zd� Zd� Zdd�Zd� Zy)�Foremanz$Foreman/Satellite systems management�foremani )�sysmgmt)r N� localhost� �
PGPASSWORD�days� z!number of days for dynflow output)�default�desc�
proxyfeaturesFz!collect features of smart proxies�puma-gczcollect Puma GC statsz/pumactl %s -S /usr/share/foreman/tmp/puma.statec �b � d} d}t |dd�� 5 }|j � j � }d d d � D ]� }|r|d dk( r�|j d� rd }�"|r$t d
|� r|j � d | _ |r$t d|� r|j � d | _ |j d
� r��d}�� | j j d� r| j j d� s6| j j d� r/| j j d� r| j dd | _ d| j i| _
| j ddddd�� | j ddg� | j d� d }|j � }| j d� d }|j � }| j dd| j � d�gd�� | j dd d!d"d#d$d%d&d'd(d)d*d+d,d| j � d-�d| j � d.�d| j � d/�d0| j � d1�d0| j � d2�d| j � d3�g� | j# d4d5d6d7d8d9d:d;|� �d;|� �d<g
� | j# d=d>�?� | j# d@dAdB�C� | j# dDdE�?� | j% dFdG�?� | j'