Run puppet apply cmd from SERVER_NAME.

Updates the puppet:install task so that the apply command will
always run from the configured server name. Also, includes
a minor fix to use tr for upcase (which works on older Bash versions
, aka XenServer).