22.16.229. 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: 2014.7.2

Previous topic

22.16.228. salt.modules.status

Next topic

22.16.230. salt.modules.supervisord