%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/lib/python2.7/site-packages/salt/pillar/ |
| Current File : //proc/self/root/proc/3522530/root/lib/python2.7/site-packages/salt/pillar/varstack_pillar.pyo |
�
���^c @@ sh d Z d d l m Z m Z m Z y d d l Z Wn e k
rK d Z n Xd Z d � Z d � Z
d S( u9
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.
i ( t absolute_importt print_functiont unicode_literalsNu varstackc C@ s t r t p t d f S( NuH The varstack module could not be loaded: varstack dependency is missing.( t varstackt __virtualname__t False( ( ( s? /usr/lib/python2.7/site-packages/salt/pillar/varstack_pillar.pyt __virtual__! s c C@ s t j d | � } | j t � S( u3
Parse varstack data and return the result
t config_filename( R t Varstackt evaluatet
__grains__( t minion_idt pillart conft vs( ( s? /usr/lib/python2.7/site-packages/salt/pillar/varstack_pillar.pyt
ext_pillar( s ( t __doc__t
__future__R R R R t ImportErrort NoneR R R ( ( ( s? /usr/lib/python2.7/site-packages/salt/pillar/varstack_pillar.pyt <module> s