Merge pull request #32127 from rallytime/dunder-docs

Add runners to __salt__ docs
This commit is contained in:
Mike Place 2016-03-25 09:54:02 -06:00
commit a09aa18036

View file

@ -44,6 +44,7 @@ Available in
- Execution Modules
- State Modules
- Returners
- Runners
``__salt__`` contains the execution module functions. This allows for all
functions to be called as they have been set up by the salt loader.
@ -53,6 +54,11 @@ functions to be called as they have been set up by the salt loader.
__salt__['cmd.run']('fdisk -l')
__salt__['network.ip_addrs']()
.. note::
When used in runners, ``__salt__`` references other runner modules, and not
execution modules.
__grains__
----------