Ec2 fixes

Runs strip against the metadata URL as it sometimes passes ^M through breaking output for chef-client package retrieval.
Set ssh_pty_enable variable as to make enabling pty on hosts that require it available.