puppetlabs/beaker — pull request #387 by colinPL (2014-08-04 16:27:20+00:00)
Title: (QENG-1032) Fix for tests without a master host

If a master role is not defined in the current test's config, then
setting a default node will fail. The code is expecting "hosts" to be a
list, but it is actually a hash. This commit fixes this issue and
adds a new spec test to validate a non-master single node is set as
default.