saltstack/salt — pull request #7557 by ajithhub (2013-10-02 06:42:29+00:00)
Title: Re: ISSUE #7528 Various salt-ssh issues regarding passwd and RHEL support

Re: ISSUE #7528 Various salt-ssh issues regarding passwd and RHEL support

- Reformatted the SSH SHIM script to be readable
- added more pythons to SHIM
- RHEL python altinstalls are ...2.x not 2x
- added tty params around to allow tty specification in roster
- TTY=True is not working, see TODO
- Replaced "sudo -i" with individual "sudo" invocations in the SHIM
- supports systems where exec'ing a shell with sudo is forbidden
- Also precludes tainting environment with users login shell
- Added some more SSH options per salt.cloud (@techhat)
- Added "z" to tar operation to properly unpack our gzipped salt-thin tarball

Tested on RHEL 4/6 Ubuntu 12.10

This resolves the remainder of the issues I reported, except for the tty thing