module-postgresql/spec
Chris Price 97af59e701 Fix GPG key for yum.postgresl.org
The GPG key for yum.postgresql.org was in the wrong directory,
and as written, would have only supported postgres 9.2 anyway.

I looked at the yum rpms for a few other versions besides 9.2,
and they appear to be using the same GPG key.  So this commit
assumes that they all are doing so, and it sets things up
accordingly.  Hopefully this will make the yumrepo support
compatible with other versions of postgres besides 9.2, but I
haven't added that to the actual test matrix yet.
2012-12-07 11:34:30 -08:00
..
distros Refactor tests and add CentOS6 image 2012-12-02 15:28:25 -08:00
support Cleanup and move control of version into params 2012-12-04 14:12:41 -08:00
test_module/manifests Fix GPG key for yum.postgresl.org 2012-12-07 11:34:30 -08:00
base.pp Initial commit 2012-04-19 15:37:18 -07:00
README.md A bit more refactoring of test context code 2012-12-02 16:41:35 -08:00

Warning: these spec tests are pretty resource intensive!

You will need the following in order to run them:

  • Virtualbox
  • vagrant
  • 'sahara' gem
  • A decent chunk of free disk space (~300MB per distro tested)
  • Patience :)

If you just run:

rspec ./spec

then, for each distro that has a Vagrantfile in the spec/distros directory, vagrant will download a base image from the web, fire up a VM, and run the suite of tests against the VM.

If you only want to run the tests against an individual distro, you can instead do something like:

rspec ./spec/distros/ubuntu_lucid_64

For some options that might speed up the testing process a bit during development, please see spec/support/postgres_test_config.rb.