salt/doc/ref/cli/salt-call.rst
2012-05-11 03:40:39 +05:30

1.4 KiB

salt-call

Synopsis

salt-call [options]

Options

salt-call

-h, --help

Print a usage message briefly summarizing these command-line options

-g, --grains

Return the information generated by the salt grains

-m MODULE_DIRS, --module-dirs=MODULE_DIRS

Specify an additional directories to pull modules from, multiple directories can be delimited by commas

-d, --doc

Return the documentation for the specified module of for all modules if none are specified

-l LOG_LEVEL, --log-level=LOG_LEVEL

Console log level. One of info, none, garbage, trace, warning, error, debug. For the logfile settings see the config file. Default: info.

--raw-out

Print the output from the salt command in raw python form, this is suitable for re-reading the output into an executing python script with eval.

--text-out

Print the output from the salt command in the same form the shell would.

--yaml-out

Print the output from the salt command in yaml.

--json-out

Print the output from the salt command in json.

--no-color

Disable all colored output

See also

salt(1) salt-master(1) salt-minion(1)