File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/__pycache__/varstack_pillar.cpython-310.pyc
Back
o ;jc � @ s@ d Z zddlZW n ey dZY nw dZdd� Zdd� ZdS )a9 Use `Varstack <https://github.com/conversis/varstack>`_ data as a Pillar source Configuring Varstack ==================== Using varstack in Salt is fairly simple. Just put the following into the config file of your master: .. code-block:: yaml ext_pillar: - varstack: /etc/varstack.yaml Varstack will then use /etc/varstack.yaml to determine which configuration data to return as pillar information. From there you can take a look at the `README <https://github.com/conversis/varstack/blob/master/README.md>`_ of varstack on how this file is evaluated. � N�varstackc C s t rtpddfS )NFzHThe varstack module could not be loaded: varstack dependency is missing.)r �__virtualname__� r r �O/opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/varstack_pillar.py�__virtual__ s �r c C s t j|d�}|�t�S )z3 Parse varstack data and return the result )Zconfig_filename)r ZVarstackZevaluateZ __grains__)Z minion_idZpillarZconfZvsr r r � ext_pillar% s r )�__doc__r �ImportErrorr r r r r r r �<module> s �
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings