Puppet 3.x unsets some environment variables, $HOME, $USER, and $LOGNAME

To overcome this, running commands as root and using `su $user -c '$command'` seems to be the only option.

it would either be better if user environment was available as a fact, or exec had a 'su' provider.