Ë
    i©¹db  ã                   ó2   — d dl mZ d dlmZ  G d„ de«      Zy)é    ©Úquote)ÚClusterc                   ó*   — e Zd ZdZdZdZd„ Zd„ Zd„ Zy)Ú	satellitea3  
    This profile is specifically for Red Hat Satellite 6, and not earlier
    releases of Satellite.

    While note technically a 'cluster' in the traditional sense, Satellite
    does provide for 'capsule' nodes which is what this profile aims to
    enumerate beyond the 'primary' Satellite system.
    zRed Hat Satellite 6)r   zsatellite-installerc                 ó>   — d}d}|t        |t        |«      z  «      z  S )Nzsu postgres -c %szpsql foreman -c %sr   )ÚselfÚqueryÚ_cmdÚ_dbcmds       úB/usr/lib/python3/dist-packages/sos/collector/clusters/satellite.pyÚ	_psql_cmdzsatellite._psql_cmd   s%   € Ø"ˆØ%ˆØ”e˜F¤U¨5£\Ñ1Ó2Ñ2Ð2ó    c                 óÐ   — | j                  d«      }| j                  |d¬«      }|d   dk(  r4|d   j                  «       D �cg c]  }d|vr|j                  «       ‘Œ }}|S g S c c}w )Nz/copy (select name from smart_proxies) to stdoutT)Ú	need_rootÚstatusr   Úoutputzcould not change directory)r   Úexec_primary_cmdÚ
splitlinesÚstrip)r	   ÚcmdÚresÚnÚnodess        r   Ú	get_nodeszsatellite.get_nodes!   s{   € Ø�n‰nÐNÓOˆØ×#Ñ# C°4Ð#Ó8ˆØˆx‰=˜AÒà#& x¡=×#;Ñ#;Ó#=öØØ/°qÑ8ð —‘•	ðˆEð ð ˆLØˆ	ùòs   ÁA#c                 óL   — |j                   | j                  j                   k(  ryy)Nr   Úcapsule)ÚaddressÚprimary)r	   Únodes     r   Úset_node_labelzsatellite.set_node_label,   s   € Ø�<‰<˜4Ÿ<™<×/Ñ/Ò/ØØr   N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úcluster_nameÚpackagesr   r   r!   © r   r   r   r      s"   „ ñð )€LØ3€Hò3ò
	ór   r   N)Úpipesr   Úsos.collector.clustersr   r   r(   r   r   ú<module>r+      s   ðõ Ý *ô �õ  r   