saltstack/salt — pull request #14408 by stephanbuys (2014-07-22 20:40:48+00:00)
Title: Handle sudo when re-deploying the shim

This add permissions, when using SUDO, for the sudo user to the /tmp/.salt folder. If this is not done (disclaimer there might be better ways), the scp of the thin client will fail.