puppetlabs/facter — pull request #179 by stschulte (2012-02-25 15:33:01+00:00)
Title: Feature #12790: Raise an exception if fact recursion is detected

Facter can already detect if fact dependencies will end up in a loop.
Recursions can lead to strange errors because facter will return nil (or
an already cached value) for the fact value.

The change now changes the behaviour upon recursion detection: Dont
print a debug message but throw an error. This way a recursion is a
lot easier to detect so we can actually fix it.

examples for recursions:
http://projects.puppetlabs.com/issues/11511
http://projects.puppetlabs.com/issues/12831