File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/matchers/__pycache__/confirm_top.cpython-310.pyc
Back
o ;j� � @ s, d Z ddlZddlZe�e�Zddd�ZdS )z� The matcher subsystem needs a function called "confirm_top", which takes the data passed to a top file environment and determines if that data matches this minion. � Nc C sb d}|D ]}t |t�rd|v r|d }qtj�t�}|d }|dkr)|| | |�S || }|| �S )zl Takes the data passed to a top file environment and determines if the data matches this minion Zcompound�matchz_match.matchZ nodegroup)� isinstance�dict�salt�loader�matchersZ__opts__)r �dataZ nodegroups�matcher�itemr �funcname�m� r �M/opt/saltstack/salt/lib/python3.10/site-packages/salt/matchers/confirm_top.py�confirm_top s �r )N)�__doc__�loggingZsalt.loaderr � getLogger�__file__�logr r r r r �<module> s
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings