salt.modules.sudo

Allow for the calling of execution modules via sudo

salt.modules.sudo.salt_call(runas, fun, *args, **kwargs)

Wrap a shell execution out to salt call with sudo

CLI Example:

salt '*' sudo.salt_call root test.ping

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2015.5.1

Previous topic

salt.modules.status

Next topic

salt.modules.supervisord