jonlives/knife-preflight — pull request #3 by jgoulah (2012-06-26 23:40:20+00:00)
Title: cleanup and search last_seen_recipes

few modifications:

* simplify duplicated logic into one function
* simplify the search logic by simply stripping ::default first, then we can tack it back on if the recipe doesn't contain :: (basically 2 if/else branches instead of 3 now)
* also search the new last_seen_recipes attrib that my handler sticks into the node, this lets us search for included recipes too