puppetlabs/puppet-acceptance — pull request #245 by grimradical (2012-06-27 17:20:08+00:00)
Title: Support for VMWare Fusion when using --vmrun

This provides support for reverting a VMWare Fusion machine to a particular
snapshot prior to executing tests.

Additional requirements on the Test Driver:
- Must have the 'fission' gem (including all its dependencies) installed
- Must have a ~/.fissionrc that points to the `vmrun` executable and where VMs
can be found

You can then use the following arguments to systest:
- `--vmrun fusion` tells us to enable this feature. This is required.
- `--snapshot `, where is the snapshot name to revert to. This
applies across *all* VMs, so it only makes sense if you want to use the same
snapshot name for all VMs. This is optional.

For each host, you can (optionally) have a "fission" section with the following
(also optional) settings inside:

- `vmname`: This is useful if the hostname of the VM doesn't match the name of
the .VMX file on disk. The alias should be something fission can load.
- `snapshot`: This is useful if you'd like to use different snapshots for each
host. The value should be a valid snapshot name for the VM.

Signed-off-by: Deepak Giridharagopal