The sys module provides information about the available functions on the minion
salt.modules.sysmod.argspec(module='')¶Return the argument specification of functions in Salt execution modules.
CLI Example:
salt '*' sys.argspec pkg.install
salt '*' sys.argspec sys
salt '*' sys.argspec
salt.modules.sysmod.doc(*args)¶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.
Multiple modules/functions can be specified.
CLI Example:
salt '*' sys.doc
salt '*' sys.doc sys
salt '*' sys.doc sys.doc
salt '*' sys.doc network.traceroute user.info
salt.modules.sysmod.list_functions(*args, **kwargs)¶List the functions for all modules. Optionally, specify a module or modules from which to list.
CLI Example:
salt '*' sys.list_functions
salt '*' sys.list_functions sys
salt '*' sys.list_functions sys user
salt.modules.sysmod.list_modules()¶List the modules loaded on the minion
CLI Example:
salt '*' sys.list_modules
salt.modules.sysmod.reload_modules()¶Tell the minion to reload the execution modules
CLI Example:
salt '*' sys.reload_modules
Current Salt release: 2014.1.7
Docs for previous releases on salt.rtfd.org.