puppetlabs/puppetdb — pull request #289 by cprice-puppet (2012-09-24 02:14:36+00:00)
Title: Maint/master/test fixes

commit 3c6d2db659699fcbddf62969b70528eadd37c90a
Author: Chris Price
Date: Tue Sep 4 14:46:31 2012 -0700

Acceptance: Don't set up dev package repo for source installs

Prior to this commit, the acceptance setup suite would always
configure a machine to add the puppetlabs dev package repos, even
if the acceptance run was being done from source code instead of
packages. This caused 'apt-get update' to fail if you tried to
run the tests on a machine that was not connected to the puppetlab
LAN or VPN.

This change causes the acceptance setup to only add the puppetlabs
dev package repos if you are installing from packages; this allows
runs from source to succeed w/o being connected to the VPN or LAN.

commit 980031f9cf73325f28b71ccaf0122c7ce903deeb
Author: Chris Price
Date: Sun Sep 23 19:12:17 2012 -0700

Fix some order-dependent test failures

The way we set up the class variables for
Util::Puppetdb#server/port allows the possibility of some
order-dependent test failures. This fixes the tests, but
we might want to look for a way to get rid of those
variables to avoid additional occurrences of this problem.