salt.modules.sysmod

The sys module provides information about the available functions on the minion.

salt.modules.sysmod.doc(module='')

Return the docstrings for all modules. Optionally, specify a module or a function to narrow te 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
salt.modules.sysmod.list_functions(module='')

List the functions for all modules. Optionally, specify a module to list from.

CLI Example:

salt \* sys.list_functions
salt \* sys.list_functions sys
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

Parent topic

Previous topic

salt.modules.sysbench

Next topic

salt.modules.systemd