HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/__pycache__/cmd_yaml.cpython-310.pyc
o

�N�g}�@s*dZddlZddlZe�e�Zdd�ZdS)zv
Execute a command and read the output as YAML. The YAML data is then directly overlaid onto the minion's Pillar data
�NcCsRz|�d|�}td|dd�}tjj�|�WSty(t�d||�iYSw)z7
    Execute a command and read the output as YAML
    z%szcmd.run_stdoutT)Zpython_shellz7YAML data from '%s' failed to parse. Command output:
%s)	�replaceZ__salt__�salt�utilsZyamlZ	safe_load�	Exception�log�critical)Z	minion_idZpillarZcommand�output�r	�H/opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/cmd_yaml.py�
ext_pillars��r)�__doc__�loggingZsalt.utils.yamlr�	getLogger�__name__rrr	r	r	r
�<module>s