openaustralia/publicwhip — pull request #185 by DanielKinsman (2014-06-13 08:17:32+00:00)
Title: Vagrant development environment

Read the instructions in the puppet manifest (`manifests/development_lucid.pp`) before trying a `vagrant up` to save yourself a 700mb download from data.openaustralia.org.

Some of the rspec tests still fail in this VM, I've logged some of those issues already (e.g. #178) but will hold off on the rest unti/if this is pulled. Almost every test will fail in the VM until #183 is pulled.

The change to load.pl could potentially break stuff if any external script I'm not aware of relies on it returning error code 1 when it runs for the first time (even when it runs successfully). I changed this because puppet will fail to provision the VM when the command returns an error code. We could get around that by expecting that error code in puppet, but it doesn't make sense to return an error code on success, so I consider the change as fix anyway.