The sys module provides information about the available functions on the minion.
Return the argument specification of functions in Salt execution modules.
CLI Example:
salt '*' sys.argspec pkg.install
salt '*' sys.argspec sys
salt '*' sys.argspec
Return the docstrings for all modules. Optionally, specify a module or a function to narrow the selection.
The strings are aggregated into a single document on the master for easy reading.
CLI Example:
salt '*' sys.doc
salt '*' sys.doc sys
salt '*' sys.doc sys.doc
List the functions for all modules. Optionally, specify a module to list from.
CLI Example:
salt '*' sys.list_functions
salt '*' sys.list_functions sys
List the modules loaded on the minion
CLI Example:
salt '*' sys.list_modules
Tell the minion to reload the execution modules
CLI Example:
salt '*' sys.reload_modules