ripienaar/ruby-puppetdb — pull request #13 by bodepd (2012-08-18 00:08:23+00:00)
Title: Fix issues with filter munging

This commit resolves two minor issues with munging of the
filters.

1. Ensures that the node facts filter is always compared to the
existing keys as an array.

Previously, it was using .incude? on a string which was returning
all facts that matched the facts strings. This was causing ipaddress_eth0
to match ipaddress and ipaddress_eth0

2. Ensure that all filters that accept a list are properly munged to arrays.