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/utils/__pycache__/idem.cpython-310.pyc
o

�N�g��
@sxdZddlZddlZzddlZdZWney*Zzdee�fZWYdZ[ndZ[wwe�	e
�ZdZdd�Z
dd	�ZdS)
zc
Idem Support
============

This util provides access to an idem-ready hub

.. versionadded:: 3002
�N)TNF�idemcCstjdkrdStds
tStS)N)��)Fz&idem only works on python3.6 and laterr)�sys�version_info�HAS_POP�__virtualname__�r	r	�C/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/idem.py�__virtual__s

rcCs�dtvrLt�d�tj��}t�d�|jj��t�d�|jjj	dd�|jjj	dd�|jjj	dd�t�d	�|j
jjd
dgdddd�|td<tdS)
zB
    Create a hub with idem ready to go and completely loaded
    zidem.hubzCreating the POP hubzInitializing the loopzLoading subs onto hub�config)Z	dyne_nameZgrainsrzReading idem config optionsZacctF)Z	parse_cli�logs)
�__context__�log�debug�pop�hubZHubZloop�create�sub�addrZ	integrate�load)rr	r	r
r!s




r)�__doc__�loggingrZpop.hubrr�ImportError�e�str�	getLogger�__name__rrrrr	r	r	r
�<module>s	��