puppetlabs/cfacter — pull request #78 by peterhuene (2014-08-01 17:27:43+00:00)
Title: (CFACT-67) Fix inter-resolver dependencies when resolving all facts.

In an attempt to optimize clearing the collection's data structures
while resolving all facts, we were clearing out the resolver map before
resolving each resolver. This prevented a resolver from requesting a
fact from another unresolved resolver because the resolver map was
empty.

The correct way to resolve all facts is to simply take a resolver off
the front of the resolver list, remove it from all data structures
without clearing them, and then resolve. Repeat until the resolver list
is empty.