saltstack/salt — pull request #1243 by jhutchins (2012-05-10 06:01:33+00:00)
Title: Choose shell

I saw the disclaimer on the shell the could be used in cmd state and it made me mad and I thought to myself, "Why!?" So I decided to fix it. After looking at the code I was more confused, since the functionality is already there. I added a little bit of logic checking that a specified shell exists and is executable in cmdmod since shells can be defined and I modified the comments so that the generated documentation will reflect that.

Was there a reason that you were saying people where limited to /bin/sh for executing commands?