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