(maint) formatting

This removes trailing whitespaces in install_utils.rb
(QENG-1037) Install from git should accept depth

When installing from larger repositories, being able to specify depth can cut
the time of git checkout in half. This becomes especially helpful when you are
checking out multiple repositories.
Due to the older git on some of the templates, this provides the older
--branch name --depth 1 commands, which means when using depth, one should
ensure the rev passed is a branch and not a single commit. Alternatively one
can add depth_branch => 'name' to repository and have that used instead of rev.
(QENG-967) Disable iptables on el hosts bringup.

Also fixes bug in `disable_iptables` where per-array-element was invoking wrong
method. Looks like `disable_iptables` was originally copied from
`copy_ssh_to_root`

Also adds rspec for Beaker::Hypervisor.configure

Signed-off-by: Wayne <wayne@puppetlabs.com>
Adding a utility method for adding host entries

As much as this is a infrastructure-smell in the linux world, adding
hosts entries is still all to common in the windows world. This method
allows host entries to be configured to meet that need.

It can also be used when developing with vagrant to make sure that the
master and agent vms can see each other properly.
Enable natresolver and natdnsproxy for vagrant.

There are cases where tests run will fail when trying to download
from the outside world due to dns issues. In order to resolve this
I configured the natdnsproxy1 and natdnshostresolver1 vagrant settings
(QENG-989) install_puppet_from_gem fails on Solaris

Trying to install puppet from gems would fail on both Solaris 10 and
11. Solaris 10 now has pkgutil and gem symlinked (ln -s) to /usr/bin.
Both Solaris versions have puppet-related gems symlinked to /usr/bin
after installation. This is to avoid clobbering the PATH.
(gh-426) Add prebuild packages to Dockerfile

Without this patch every time the specs run, prebuilt packages are
installed to the new docker image. Even when preserving the image.
To increase the speed of the test suite we install those packages when
creating the Docker image. The `HostPrebuiltSteps` checks whether those
are installed and does not do anything directly starting to execute the
specs inside the image.
(MAINT) Add --debug option to `apply_manifest_on` helper

Before every 'puppet apply' command is executed with --verbose.
Now you can pass `debug: true`, which executes 'puppet apply' with the
--debug flag.
Add Enterprise Linux (el)
(QENG-1033) combine two conditionals into a single statement
(QENG-1033) additional_pkgs should be a module level variable
(QENG-1033) Reset additional_pkgs in a way supported by all Ruby versions
(QENG-1033) Move all functionality into the Perf module and sync the rspec tests
Merge pull request #440 from colinPL/qeng989_solaris_gem

(QENG-989) install_puppet_from_gem fails on Solaris
(MAINT) broken spec fixes (docker + copy_module_to)

- docker spec was still allowing sleeps to execute making things run
  slow
- update copy_module_to spec test to use correct ignore list
Merge pull request #451 from anodelman/maint

(MAINT) broken spec fixes (docker + copy_module_to)
(MAINT) add ability to list all instances associated with an ec2 keyname

- convenience function for listing all instances associated with a
  provided keyname, useful for tracking what's happening in ec2
(QENG-1128) Beaker no long auto recursively scps directories...

to systems under test

- issue was :recursive variable was being carried over successive calls
  to scp_to.  To prevent this, just set it based upon the file type
  being called
(QENG-1033) Remove dead rspec code
Merge pull request #416 from anodelman/ec2

(MAINT) add ability to list all instances associated with an ec2 keyname