2011-05-23 06:58:49 +00:00
|
|
|
=============
|
|
|
|
``salt-call``
|
|
|
|
=============
|
|
|
|
|
|
|
|
Synopsis
|
|
|
|
========
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
salt-call [options]
|
|
|
|
|
2012-09-09 19:05:10 +00:00
|
|
|
Description
|
|
|
|
===========
|
|
|
|
|
|
|
|
The salt-call command is used to run module functions locally on a minion
|
|
|
|
instead of executing them from the master.
|
|
|
|
|
2011-05-23 06:58:49 +00:00
|
|
|
Options
|
|
|
|
=======
|
|
|
|
|
|
|
|
.. program:: salt-call
|
|
|
|
|
2013-08-10 13:19:43 +00:00
|
|
|
.. include:: _includes/common-options.rst
|
2011-05-23 06:58:49 +00:00
|
|
|
|
|
|
|
.. option:: -g, --grains
|
|
|
|
|
2012-05-23 04:43:12 +00:00
|
|
|
Return the information generated by the Salt grains
|
2011-05-23 06:58:49 +00:00
|
|
|
|
|
|
|
.. option:: -m MODULE_DIRS, --module-dirs=MODULE_DIRS
|
|
|
|
|
|
|
|
Specify an additional directories to pull modules from, multiple
|
|
|
|
directories can be delimited by commas
|
|
|
|
|
2013-08-10 13:33:25 +00:00
|
|
|
.. option:: -d, --doc, --documentation
|
|
|
|
|
|
|
|
Return the documentation for the specified module or for all modules if
|
|
|
|
none are specified
|
|
|
|
|
|
|
|
.. option:: --master=MASTER
|
|
|
|
|
|
|
|
Specify the master to use. The minion must be authenticated with the
|
|
|
|
master. If this option is omitted, the master options from the minion
|
|
|
|
config will be used. If multi masters are set up the first listed master
|
|
|
|
that responds will be used.
|
|
|
|
|
2012-12-14 13:32:23 +00:00
|
|
|
.. option:: --return RETURNER
|
|
|
|
|
|
|
|
Set salt-call to pass the return data to one or many returner interfaces.
|
|
|
|
To use many returner interfaces specify a comma delimited list of
|
|
|
|
returners.
|
|
|
|
|
|
|
|
.. option:: --local
|
|
|
|
|
|
|
|
Run salt-call locally, as if there was no master running.
|
|
|
|
|
2013-08-10 13:06:53 +00:00
|
|
|
.. include:: _includes/logging-options.rst
|
|
|
|
.. |logfile| replace:: /var/log/salt/minion
|
|
|
|
.. |loglevel| replace:: ``info``
|
|
|
|
|
2013-08-10 10:41:33 +00:00
|
|
|
.. include:: _includes/output-options.rst
|
2012-05-10 22:10:39 +00:00
|
|
|
|
2012-12-14 13:44:23 +00:00
|
|
|
|
2012-05-10 22:10:39 +00:00
|
|
|
See also
|
|
|
|
========
|
|
|
|
|
|
|
|
:manpage:`salt(1)`
|
|
|
|
:manpage:`salt-master(1)`
|
|
|
|
:manpage:`salt-minion(1)`
|