add initial configuration documentation for varstack pillar

This commit is contained in:
Dennis Jacobfeuerborn 2015-05-13 20:01:43 +02:00 committed by rallytime
parent 13facbf077
commit 28a846ebe8

View File

@ -1,7 +1,24 @@
# -*- coding: utf-8 -*-
'''
Use varstack data as a Pillar source
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.
'''
from __future__ import absolute_import
# Import python libs