Repair vsphere provider

This patch fixes up the vsphere provider to make it much more rebust and
capable of handling transient errors.

We have wrapped retry blocks around the API connection routines, the SSH
connection handling and the Node launching code.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #59 from kbarber/vsphere-fixes

Repair vsphere provider
Release 2.5.0

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'release_250'

* release_250:
  Release 2.5.0
Fix hostname of box for vsphere

The VSphere provider doesn't set the hostname of a box automatically like
vagrant. This patch does the work automatically and includes a test to ensure
it worked.

It also updates /etc/hosts to remove any resolution errors.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #64 from kbarber/vsphere-hostname

Fix hostname of box
Release 2.5.1

Release notes and gemspec changes for release 2.5.1.

Signed-off-by: Ken Barber <ken@bob.sh>
remove unnecessary if statment

- remove if statment (will be true/false anyway)
- remove trailing space
- remove systemu assigment to result variable (never used afterwards)
Merge pull request #66 from JHaals/skipif

remove unnecessary if statment
fix multi-node sample in readme
Merge pull request #68 from pall-valmundsson/fix-multinode-readme

Fix multi-node sample in readme
Refactor with some new features

* Split out vagrant commonalities into a vagrant_base class
* Add support for vagrant-vmware_fusion
* Fix vagrant so we log in as root, not log in as vagrant and sudo
* Break out steps in providers: launch, connect, configure
* Generalise the SSH connection routines
* Provide a series of global configuration steps, like ntp sync, hostname
  fixups etc.
* Deprecated the internal_helpers module, its better to avoid global
  methods anyway
* Switched to using RS_ as the prefix for environment variables

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #70 from kbarber/ticket/master/provider_features_and_refactor

Refactor with some new features
Release 2.6.0

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'release_260'

* release_260:
  Release 2.6.0
Use vsphere linked cloning

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #71 from kbarber/vsphere_linked_clone

Use vsphere linked cloning
Release 2.7.0

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'release_270'

* release_270:
  Release 2.7.0
rescue and retry ssh on AuthenticationFailed

Seen machines where ssh server isn't fully running when the launch
method hand over to connect causing a Net::SSH::AuthenticationFailed