idb2ddlmZddlmZGddeZy)quote)Clusterc*eZdZdZdZdZdZdZdZy) 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. zRed Hat Satellite 6)rzsatellite-installerc>d}d}|t|t|zzS)Nzsu postgres -c %szpsql foreman -c %sr)selfquery_cmd_dbcmds B/usr/lib/python3/dist-packages/sos/collector/clusters/satellite.py _psql_cmdzsatellite._psql_cmds%"%eFU5\1222c|jd}|j|d}|ddk(r4|djDcgc]}d|vr|j}}|SgScc}w)Nz/copy (select name from smart_proxies) to stdoutT) need_rootstatusroutputzcould not change directory)rexec_primary_cmd splitlinesstrip)r cmdresnnodess r get_nodeszsatellite.get_nodes!s{nnNO##C4#8 x=A #&x=#;#;#=/q8 EL sA#cL|j|jjk(ryy)Nrcapsule)addressprimary)r nodes r set_node_labelzsatellite.set_node_label,s <<4<<// /rN) __name__ __module__ __qualname____doc__ cluster_namepackagesrrr!rr rrs")L3H3 rrN)pipesrsos.collector.clustersrrr(rr r+s*  r