saltstack/salt — pull request #2878 by psy-q (2012-12-12 15:23:15+00:00)
Title: Remove need for sudo, fix logic mistake in RVM module

RVM doesn't need sudo since salt-minion runs as root anyhow. This way, we can remove the dependency on sudo.

Also, I think I fixed a logic mistake while installing that could lead to RVM not ever actually installing the rubies you ask it for.

Tested on Debian wheezy and Debian sid minions, seems to work!